visualstates
Silverlight: How to Create a VisualState for a Templated / Custom Control
I\'m trying to create a templated/custom control in Silverlight. The base control can be a System.Windows.Controls.Button.The button has the following visual states:[详细]
2023-04-12 18:46 分类:问答How to change VisualState via ViewModel [duplicate]
This question already has answers here: Binding [VisualStateManager] view state to a MVVM viewmodel? (5 answers)[详细]
2023-03-31 05:03 分类:问答Visual States or Silverlight ComboBox
I\'m trying to modify a siverlight combobox so that the \"combo\" part is ony visible when accessed.I changed the Opacity of the DropDownToggle part to 0 and changed the MouseOver Visual State to set[详细]
2023-03-25 10:24 分类:问答IAR VisualState Requiring Trigger For Every Expression inside a State
I have been using State machine based design tools for some time, and have seen UML modeling tools that allow you to execute your logic (call functions, do other stuff) inside a state. However, after[详细]
2023-03-10 09:35 分类:问答Problem at the beginning of a ColorAnimation for a GradientStop in a VisualState
I have a very strange problem with a ColorAnimation. What I want to do is pretty simple (I think): I have a Rectangle with a GradientBrush as a background. This rectangle has different VisualStates th[详细]
2023-02-19 21:12 分类:问答Accessing a style's storyboard of a button
My problem is that I have a Button and I want to access the Storyboard, which is a part of the assigned style.[详细]
2023-02-16 21:26 分类:问答How to get VisualStateGroup properties from a UserControl to reference in the ViewModel in Silverlight 4 C# code?
I\'m trying to make visual states available in the ViewModel as some sort of enumeration (so that I don\'t have to use string literals or manually create and update static properties in order to be ab[详细]
2023-02-10 03:52 分类:问答SketchFlow / Using (Selected) TabItem in TabControl to Trigger State
Context: A new Sketchflow / Silverlight project. Expression Blend 4 (Ultimate) I have the below code. I have a TabControl with 2 TabItem\'s.[详细]
2023-02-10 02:59 分类:问答Silverlight/Blend Datatrigger/EventTrigger STRANGE issue
My usercontrol contains 3000 NewDotControls in an itemscontrol. The ControlTemplate for NewDotControl is specified in a style that defines the visualstates and there is an eventtrigger that invokes a[详细]
2023-02-06 22:49 分类:问答Create a slide down animation/storyboard for an element?
I\'d like to create a slide-down animation for an Grid element in my WPF (.net 4.0) application. I assumed that I could do the following:[详细]
2023-01-18 05:46 分类:问答