VisualState Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a named visual state that applies a list of setters to an element in order to correlate a state with an appearance.
public ref class VisualState sealed
public sealed class VisualState
type VisualState = class
Public NotInheritable Class VisualState
- Inheritance
-
VisualState
Remarks
With visual state objects, developers can associate novel visual state names with a list of property setters that cause the control to represent that state. This frees the developer from relying on the set of provided states for a control, enabling finer control over the appearance of the application as the user's workflow progresses.
Constructors
VisualState() |
Creates a new VisualState object with default values. |
Properties
Name |
Gets or sets the developer-specified name of this visual state. |
Setters |
Gets the list of property setters that establish the visual representation of the element when it is in the state that is named by |
StateTriggers | |
TargetType |
Gets or sets the type of element that |
Methods
Equals(Object) | |
GetHashCode() |