TemplateVisualStateAttribute クラス

定義

コントロールを特定の状態にすることができ、コントロールの ControlTemplateVisualState が必要であることを指定します。

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
継承
TemplateVisualStateAttribute
属性

コンストラクター

TemplateVisualStateAttribute()

TemplateVisualStateAttribute クラスの新しいインスタンスを初期化します。

フィールド

GroupName

コントロールを特定の状態にすることができ、コントロールの ControlTemplateVisualState が必要であることを指定します。

Name

コントロールを特定の状態にすることができ、コントロールの ControlTemplateVisualState が必要であることを指定します。

適用対象

こちらもご覧ください