StylusPlugIn.Element Propriedade

Definição

Obtém o UIElement que StylusPlugIn está ligado.

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

Valor de Propriedade

A UIElement que o StylusPlugIn está ligado.

Exemplos

O exemplo seguinte mostra o Element momento em StylusPlugIn que é adicionado à StylusPlugIns coleção.

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

    MyBase.OnAdded()

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

End Sub

Aplica-se a