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)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class TemplateVisualStateAttribute : Attribute
Public NotInheritable Class TemplateVisualStateAttribute
Inherits Attribute
Inheritance
TemplateVisualStateAttribute
Attributes
Windows.Foundation.Metadata.AllowMultipleAttribute Windows.Foundation.Metadata.AttributeUsageAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

Constructors

TemplateVisualStateAttribute()

Initializes a new instance of the TemplateVisualStateAttribute class.

Fields

GroupName
Name

Applies to

See also