StylusPlugIn.Element Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the UIElement to which the StylusPlugIn is attached.
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
Property Value
The UIElement to which the StylusPlugIn is attached.
Examples
The following example shows the Element of the StylusPlugIn when it is added to the StylusPlugIns collection.
protected override void OnAdded()
{
base.OnAdded();
MessageBox.Show(this.Element.ToString());
}
Protected Overrides Sub OnAdded()
MyBase.OnAdded()
MessageBox.Show(Me.Element.ToString())
End Sub
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.