StylusPlugIn.Element 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取向其附加 UIElement 的 StylusPlugIn。
public:
 property System::Windows::UIElement ^ Element { System::Windows::UIElement ^ get(); };public System.Windows.UIElement Element { get; }member this.Element : System.Windows.UIElementPublic ReadOnly Property Element As UIElement属性值
其中附加了 UIElement 的 StylusPlugIn。
示例
以下示例显示了ElementStylusPlugIn添加到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