Freigeben über


InkPicture.OnSelectionChanging Method

InkPicture.OnSelectionChanging Method

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

Definition

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

Parameters

e Microsoft.Ink.InkOverlaySelectionChangingEventArgs. The InkOverlaySelectionChangingEventArgs 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 SelectionChanging event.

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

See Also