InkPicture.OnHandleDestroyed Method

InkPicture.OnHandleDestroyed Method

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

Definition

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

The OnHandleDestroyed 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 OnHandleDestroyed method of the base class so that registered delegates receive the event.

See Also