共用方式為


InkOverlay.OnSelectionChanged Method

InkOverlay.OnSelectionChanged Method

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

Definition

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

Parameters

e System.EventArgs. The EventArgs Leave Site 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 SelectionChanged event.

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

See Also