visualstatemanager
GoToState not working on controltemplated usercontrol based on combobox
I\'m trying to create a custom combobox that shows a loading animation when a bool property is set on it (e.g. IsLoading).[详细]
2023-01-14 18:52 分类:问答How can I control the SpeedRatio of a Storyboard inside a VisualState?
Given a Storyboard started by the VisualStateManager as part of a ControlTemplate, how would I adjust the SpeedRatio of that animation based on property changes of the control?[详细]
2023-01-12 11:11 分类:问答Best way to propagate VisualState changes
I am currently facing a scenario that I am unsure 开发者_开发知识库what is the best way to handle.[详细]
2023-01-12 02:46 分类:问答How to make a specific GoToStateAction-with-DataTrigger run when element is loaded
I have a DataTemplate. It has two visual states - Expanded, Collapsed. I added 2 GoToStateAction-s. The first one goes to the Expanded state when a data context property becomes True, and the second o[详细]
2023-01-10 17:51 分类:问答Referring to a brush resource in a VisualState ColorAnimation
I\'m trying to style the Calendar control and need 开发者_StackOverflow中文版the buttons to adopt the colors we already have defined as named resources. But the storyboards require colors in the Color[详细]
2023-01-10 03:20 分类:问答Imposing minimum times spent in a given visual state
I\'m wanting to ensure a control remains in a certain state for a minimum amount of time. The control has two states: Loading and Loaded. The Loading state displays an animation and the Loaded state d[详细]
2023-01-07 22:45 分类:问答Rotating states in a Blend 4 VisualStateManager based on timer events?
I\'m building a Silverlight 4 UserControl in Blend which has three VisualStates. I would like to have the states change from the first to the second state after a delay of a few seconds, second to t[详细]
2023-01-06 20:11 分类:问答VisualStateGroup Triggering Animation in Another VisualStateGroup
There\'s something fundamental about VisualStateGroups that I\'m not understanding. Everything I\'ve read has led me to believe that they are orthogonal. That is, a state change in one group won\'t af[详细]
2023-01-06 17:18 分类:问答Setting a Visual State from a data bound enum in WPF
Hey all, I\'ve got a scenario where I want to switch the visiblity of 4 different content controls.The visual states I have set opacity, and collapsed based on each given state (See code.)What I\'d li[详细]
2023-01-03 22:03 分类:问答MVVM with animations (should I use VisualStateManager?)
I\'ve got a View.xaml with the following set in Resources-section: <DataTemplate DataType=\"{x:Type ViewModels:MyFirstViewModel}\">[详细]
2023-01-01 14:39 分类:问答