VisualStateChangedEventArgs.Control Tulajdonság

Definíció

Lekéri az állapotokat áttűnő elemet.

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

Tulajdonság értéke

Az áttűnés állapotú elem, ha az VisualStateGroupControlTemplateegy ; egyébként null.

Megjegyzések

Ha a VisualStateGroup tulajdonság nem egy adott tulajdonságban FrameworkElementvan beállítvaControlTemplate, akkor a Control tulajdonságot null kell használniaStateGroupsRoot.

A következőre érvényes: