StylusPlugIn.Element Proprietà

Definizione

Ottiene l'oggetto UIElement a cui è associato l'oggetto StylusPlugIn .

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

Valore della proprietà

Oggetto UIElement a cui è associato l'oggetto StylusPlugIn .

Esempio

Nell'esempio seguente viene illustrato l'oggetto ElementStylusPlugIn di quando viene aggiunto alla StylusPlugIns raccolta.

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

    MyBase.OnAdded()

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

End Sub

Si applica a