visualstatemanager
silverlight Best practices when to use visual States versus storyboards
From what I have seen so far, it seems that you can use both visual states and storyboards to do the same thing visually to a silverlight application\'s UI. Am I wrong in making that statement?[详细]
2023-02-02 18:39 分类:问答How to know when the Silverlight VisualStateManager.GoToState transition has completed?
I am using the Silverlight VisualStateManager.GoToState method to transition my control from one state to another. This all works fine and the transition animations works great. But I want to know whe[详细]
2023-01-30 20:22 分类:问答Silverlight data affecting look .. VisualStateManger .. color according to data value
In Silverlight how do I get the color of a button to change according to the value of it开发者_开发知识库s contents .. e.g. \'0\' = red , \'1\' = green ..[详细]
2023-01-29 14:07 分类:问答Using binding in VisualState Storyboard
I am writing a custom control for a WPF application. I want to use a color animation in a Storyboard in a VisualState definition. The To property of that animation should be bound to a dependency prop[详细]
2023-01-27 19:36 分类:问答Changing VisualState of a control by binding it with some property of ViewModel
Considering the code below: xmlns:interactivity=\"clr-namespace:Microsoft.Expression.Interactivity;assembly=Microsoft.Expression.Interactivity\"[详细]
2023-01-22 06:50 分类:问答VisualStateManager does nothing (silverlight)
I am building a custom control using studio 2010 and silverlight 4. I am trying to use the visual state manager.[详细]
2023-01-20 05:55 分类:问答VisualState that starts collapsed interfers with other animations in WPF .NET 4
I am using .net 4, vs2010 and have created a user control that needs to start collapsed and transparent (opacity 0) and become visible and opaque in response to a button click.[详细]
2023-01-20 00:16 分类:问答In a button's control template, how can I set the color of contained text?
Using Silverlight 4 & WPF 4, I\'m trying to create a button style that alters the text color of any contained text when the button is mouseover\'d. Since I\'m trying to make this compatible with b[详细]
2023-01-18 12:39 分类:问答How to wait for state changing transition to finish in Silverlight 4?
I need to change state of a control and then do some action. To 开发者_如何学运维be specific, I want to run an animation before a control is hidden. I would like to do something like that:[详细]
2023-01-15 14:22 分类:问答Animating same property from mutually exclusive VisualStateGroups
My question is simply: is it even possible? Suppose I want to style a ListBoxItem such that it has a black foreground by default, blue when selected, and red when the mouse is over it. I ended up wit[详细]
2023-01-15 14:02 分类:问答