InkPicture.OnHandleDestroyed Method
InkPicture.OnHandleDestroyed Method |
Allows derived classes to modify the default behavior of the HandleDestroyed 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 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