StylusPlugIn.OnAdded Method
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.
Occurs when the StylusPlugIn is added to an element.
protected:
virtual void OnAdded();
protected virtual void OnAdded ();
abstract member OnAdded : unit -> unit
override this.OnAdded : unit -> unit
Protected Overridable Sub OnAdded ()
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.