TemplateVisualStateAttribute TemplateVisualStateAttribute TemplateVisualStateAttribute TemplateVisualStateAttribute 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// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

TemplateVisualStateAttribute() TemplateVisualStateAttribute() TemplateVisualStateAttribute() TemplateVisualStateAttribute()

Initializes a new instance of the TemplateVisualStateAttribute class.

public : TemplateVisualStateAttribute()public TemplateVisualStateAttribute()Public Sub New()// This API is not available in Javascript.

See Also