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() |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應