Share via


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 ref class TemplateVisualStateAttribute sealed : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public sealed class TemplateVisualStateAttribute : Attribute
Public NotInheritable Class TemplateVisualStateAttribute
Inherits Attribute
Inheritance
TemplateVisualStateAttribute
Attributes

Constructors

TemplateVisualStateAttribute()

Initializes a new instance of the TemplateVisualStateAttribute class.

Fields

GroupName
Name

Applies to

See also