StylusPlugIn.Element Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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