InkEdit.OnHandleCreated Method

InkEdit.OnHandleCreated Method

Allows derived classes to modify the default behavior of the HandleCreated Leave Site event.

Definition

Visual Basic .NET Overrides Protected Sub OnHandleCreated( _
ByVal e As EventArgs _
)
C# protected override void OnHandleCreated(
EventArgs e
);
Managed C++ protected: void OnHandleCreated(
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.

This method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

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

See Also