visualstatemanager
Separate event in control
I\'m wondering if I can have a individual component in a control have an event. For example, I\'ve created my own control, and with VisualStateManager I\'m able to handle several events that fire for[详细]
2023-03-25 12:42 分类:问答Start a VisualState transition from XAML
In a user control (or whatever), we all know that the VisualStateManger can be used in code to start a transition, or animation, like so:[详细]
2023-03-23 19:49 分类:问答Silverlight: VisualStateManager.GetVisualStateGroups doesn't, How can I get them?
I\'ve tried using VisualStateManager.GetVisualStateGroups in the OnAttached override of my custom behavior, as well as in an event handler added to AssociatedObject.Loaded event in that behavior. Both[详细]
2023-03-21 05:38 分类:问答WPF VisualStateManager - How to animate properties inside a templated child
I have a UserControl that contains an ItemsControl with a custom ItemsPanel, with a dependency property called \"MaxColumns\". I\'d like to define a VisualState (at the UserControl level) that can ani[详细]
2023-03-19 22:07 分类:问答Add Visual State to nested controls with WPF 4
I\'d like to know if is it possible to apply a Visual State (in WPF 4) to nested controls. I\'ve got a stack panel that contains some elements I\'d like to change according to variation state.[详细]
2023-03-15 20:02 分类:问答WPF ControlTemplate with VisualStates
I want to create a ControlTemplate with predefined VisualStates. I want to use 开发者_JAVA技巧them with GoToStateActions and DataTriggers.[详细]
2023-03-08 06:43 分类:问答Binding [VisualStateManager] view state to a MVVM viewmodel?
How do you bind the VisualStateManager state of a control to a开发者_高级运维 property in you viewmodel?[详细]
2023-03-06 09:22 分类:问答Grid does not animate from collapsed to visible
I\'m currently trying to make a grid that animates from collapsed -> visible to notify the user that the save has been completed.In Blend 4 I opened the project and created a usercontrol for the S开发[详细]
2023-03-05 06:17 分类:问答Silverlight Bind VisualState to different Targets
I\'m using the following border style: <!-- Border Style --> <Style TargetType=\"Border\"> <Setter Property=\"Background\">[详细]
2023-03-03 13:17 分类:问答Programmatic state changes not working in Silverlight
I\'m trying to get states to change with the visual state manager through code. I am using: Microsoft.Expression.Interactivity.Core.ExtendedVisualStateManager.GoToElementState(this.LayoutRoot, \"sta[详细]
2023-02-27 03:33 分类:问答