Advanced Forum Search Results
-
Thanks for the advice. I ended up animating the "MaxHeight" property of my container (which was a Border). I set the To value of the Animation to a double much larger than my content will ever reach. Height of the control is set to Auto. So when the storyboard runs MaxHeight increases and the Border expands from 0 height to the ...
-
Does the last solution work? It doesn't work for me. I receive an empty collection whenever I call:
VisualStateManager.GetVisualStateGroups(LayoutRoot);
-
I want to edit my control's storyboard at runtime. I tried with the button and the method still returns zero.
<Button x:Name="btn" Style="{StaticResource ButtonStyle1}" Content="Click me" Height="20" Width="100" />
public partial class Page : UserControl
{public Page() ...
-
Whenever I call VisualStateManager.GetVisualStateGroups(LayoutRoot)
in my app, I receive an empty collection... any clue why?
-
I'm actually needing to base the value on the user's resolution. I'm using the expander control in the Silverlight Control Toolkit. When expanded I need the control to animate and fill all of the user's vertical space (as if I were setting VerticalAlign = Stretch). But it must be animated. Currently everything works perfectly, ...
-
Within my control's ControlTemplate I've defined a VisualState with a DoubleAnimation. I want the Value of that DoubleAnimation to vary depending on the user logged in. How can I do this? Is there a way I can change the ControlTemplate's VisualState at runtime?
-
Understood, Thanks for the info!
-
Anyone? Justin, we're you able to recreate this issue?
-
Sorry.... tried to before... but apparently these forums don't like Google Chrome... lets give IE a try
<ItemsControl x:Name="FeedbackList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" ...
-
I'm loving the ImplicitStyleManager, but having an issue using it to apply styles to controls within the DataTemplate of my ItemsControl. It simply is not applying the styles. Any help would be appreciated!
...