共用方式為


InkPicture.OnStrokesDeleting Method

InkPicture.OnStrokesDeleting Method

Allows derived classes to modify the default behavior of the StrokesDeleting event.

Definition

Visual Basic .NET Overridable Protected Sub OnStrokesDeleting( _
ByVal e As InkOverlayStrokesDeletingEventArgs _
)
C# protected virtual void OnStrokesDeleting(
InkOverlayStrokesDeletingEventArgs e
);
Managed C++ protected: virtual void OnStrokesDeleting(
InkOverlayStrokesDeletingEventArgs *e
);

Parameters

e Microsoft.Ink.InkOverlayStrokesDeletingEventArgs. The InkOverlayStrokesDeletingEventArgs object that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

In derived classes, this method is called only if a delegate is attached to the StrokesDeleting event.

When overriding this method in a derived class, call the OnStrokesDeleting method of the base class so that registered delegates receive the event.

See Also