共用方式為


InkOverlay.OnSelectionMoved Method

InkOverlay.OnSelectionMoved Method

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

Definition

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

Parameters

e Microsoft.Ink.InkOverlaySelectionMovedEventArgs. The InkOverlaySelectionMovedEventArgs 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 SelectionMoved event.

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

See Also