Template​Visual​State​Attribute Template​Visual​State​Attribute Template​Visual​State​Attribute Class

Definition

Specifies that a control can be in a certain state and that a VisualState is expected in the control's ControlTemplate.

public : sealed class TemplateVisualStateAttribute : Attributepublic sealed class TemplateVisualStateAttribute : AttributePublic NotInheritable Class TemplateVisualStateAttribute Inherits Attribute
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

TemplateVisualStateAttribute() TemplateVisualStateAttribute() TemplateVisualStateAttribute()

Initializes a new instance of the TemplateVisualStateAttribute class.

public : TemplateVisualStateAttribute()public TemplateVisualStateAttribute()Public Sub New()
Attributes

See Also