StylusPlugIn.Element 屬性

定義

取得 UIElement 附加上去的 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

屬性值

UIElement

UIElement 附加上去的 StylusPlugIn

範例

下列範例顯示 Element StylusPlugIn 將 新增至集合時的 StylusPlugIns

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

    MyBase.OnAdded()

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

End Sub

適用於