VisualStateChangedEventArgs.Control プロパティ

定義

状態が遷移している要素を取得します。

public:
 property System::Windows::FrameworkElement ^ Control { System::Windows::FrameworkElement ^ get(); };
public System.Windows.FrameworkElement Control { get; }
member this.Control : System.Windows.FrameworkElement
Public ReadOnly Property Control As FrameworkElement

プロパティ値

FrameworkElement

VisualStateGroupControlTemplate 内にある場合は、状態が遷移している要素。それ以外の場合は null

注釈

VisualStateGroupに設定FrameworkElementされている場合、そのプロパティはnullControlTemplateControlプロパティであり、プロパティを使用するStateGroupsRoot必要があります。

適用対象