Search found 36 matches
- 28 Sep 2014, 01:28
- Forum: General Discussion
- Replies: 12
- Views: 5975
Re: [Unity] Starting a storyboard after dynamic load
I assume you meant to put code where SpeedRatio="0.25" or something along those lines? I gave that a try and the exact same thing happened.
- 24 Sep 2014, 22:23
- Forum: General Discussion
- Replies: 4
- Views: 2109
Re: Dynamically adding a UserControl to a ListBox
StackPanel is the way to go. Just wrap it in a ScrollViewer control. I am actually doing this exact scenario in our project. You can always edit the stackpanel contents at runtime too in the code-behind.
- 24 Sep 2014, 02:21
- Forum: General Discussion
- Replies: 2
- Views: 1504
Re: [Unity] Nested Data Bindings
Managed to get this working by using a ContentControl instead of setting DataContext on the custom control directly: <Grid> <Grid.Resources> <DataTemplate x:Key="AtAGlanceTemplate"> <vs:AtAGlanceView DataContext="{Binding}" Width="{Binding ActualWidth, ElementName=Root, Mode=OneWay}" Height="{Bindin...
- 24 Sep 2014, 01:39
- Forum: General Discussion
- Replies: 2
- Views: 1504
[Unity] Nested Data Bindings
Hi, I am trying to bind user controls nested within user controls, and it does not seem to be working. Example: DetailCardView.xaml <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vs="clr-namespace:Assets.UI....
- 23 Sep 2014, 18:20
- Forum: General Discussion
- Replies: 12
- Views: 5975
Re: [Unity] Starting a storyboard after dynamic load
I have done that, but instead of delaying before playing the animation, it delays for the specified time, and then instantly goes to the state where the animation is completed.
- 19 Sep 2014, 22:04
- Forum: General Discussion
- Replies: 12
- Views: 5975
[Unity] Starting a storyboard after dynamic load
Hi there, I found this weird bug while trying to start a storyboard when loading my view dynamically. The way my code is set up, I have a NoesisGUIPanel on my Main Camera, with a Root.xaml view on it. The root xaml is barebones and only contains: <ContentControl x:Name="RootContainer" HorizontalCont...