Search found 2983 matches

by sfernandez
18 Sep 2014, 16:18
Forum: General Discussion
Replies: 2
Views: 2482

Re: [Unity] Setting GridLength in Storyboard

It was a bug, will be fixed for the next release.

Meanwhile you will have to change Row/Column definition in code:
ColumnDefinition col = grid.GetColumnDefinitions().Get(0).As<ColumnDefinition>();
col.SetWidth(new GridLength(3.0f, GridUnitType.Star));
by sfernandez
18 Sep 2014, 11:50
Forum: General Discussion
Replies: 9
Views: 3917

Re: [Unity] How to set HeaderedContentControl header with st

Are you sure it's a good idea to change SetHeader to take a string? I may be wrong but I think the Header of the HeaderedContentControl in WPF is of type object so it's possible to pass even more complex objects in there. And I guess certain things would become more difficult because it would proba...
by sfernandez
16 Sep 2014, 09:35
Forum: General Discussion
Replies: 9
Views: 3917

Re: [Unity] How to set HeaderedContentControl header with st

You can still use Tag for whatever you want. My workaround only needs the Tag property to construct a BaseComponent object with a boxed string inside. You can save the current Tag and restore it later: Noesis.BaseComponent tag = expander.GetTag(); expander.SetTag("myHeader"); expander.SetH...
by sfernandez
15 Sep 2014, 16:23
Forum: General Discussion
Replies: 9
Views: 3917

Re: [Unity] How to set HeaderedContentControl header with st

The API is not correct, we will fix it in the next release. Meanwhile, there is a tricky way to do it, by using other property that allows to set a string like the FrameworkElement.Tag property: expander.SetTag("myHeader"); expander.SetHeader(expander.GetTag()); Sorry for the inconvenience...
by sfernandez
15 Sep 2014, 11:20
Forum: General Discussion
Replies: 2
Views: 2567

Re: Noesis doesn't run on android

Hi haowang1013, I think the problem is the XAML resources are not built for Android. You should go to Unity Editor top menu: Window > NoesisGUI > Settings. Then select the Android platform, and click the 'Build' button. Now you can go to the Unity's "Build Settings..." (Ctrl+Shift+B) dialo...
by sfernandez
12 Sep 2014, 16:51
Forum: General Discussion
Replies: 1
Views: 1453

Re: Animate an Object Along a Path

Hi,

DoubleAnimationUsingPath is not implemented and it is low priority. You can create a ticket in our bugtracker demanding this feature.

Currently your only option is using DoubleAnimationUsingKeyFrames and set the path key points yourself.
by sfernandez
11 Sep 2014, 11:36
Forum: General Discussion
Replies: 5
Views: 2378

Re: [UNITY] Infinite is not a valid value

We found the bug, will be fixed for the next release.
by sfernandez
10 Sep 2014, 11:46
Forum: General Discussion
Replies: 1
Views: 1861

Re: [Unity] VisualStateManager

1. I have to add another parent element such as a Grid where I have to add the VisualStateManager (VSM) elements to. If I add the VSM elements inside the border element it won't animate anything. But according to this MS example it could also be inside. But this is just a minor annoyance. In the ex...
by sfernandez
10 Sep 2014, 10:51
Forum: General Discussion
Replies: 1
Views: 1868

Re: [Unity] Style-Inheritance

Hi, This is a limitation of our current XAML asset build process. The Style.BasedOn property accepts only a Style object, so when a XAML is built by our system (creating a binary representation for runtime), it tries to solve the StaticResource assigned to that property (DynamicResource can't be use...
by sfernandez
10 Sep 2014, 10:38
Forum: General Discussion
Replies: 5
Views: 3719

Re: [Unity] Binding of IsSelected-Property of ListBoxItem

Hi, I have a similar test here (without the RelayCommand) and IsSelected binding works correctly and is being updated as expected: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ListBox x:Name="...