StylusPlugIn.Element Vlastnost

Definice

UIElement Získá, ke kterému StylusPlugIn je připojen.

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

Hodnota vlastnosti

UIElement

K UIElement němuž StylusPlugIn je připojen.

Příklady

Následující příklad ukazuje Element StylusPlugIn , kdy se přidá do StylusPlugIns kolekce.

protected override void OnAdded()
{
    base.OnAdded();
     
    MessageBox.Show(this.Element.ToString());
}
Protected Overrides Sub OnAdded()

    MyBase.OnAdded()

    MessageBox.Show(Me.Element.ToString())

End Sub

Platí pro