|
|
|
|
OnHeaderClicked Method, SftTree Class |
Raises the HeaderClicked event.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Protected Overridable Sub OnHeaderClicked( ByVal e As HeaderClickedEventArgs ) |
C# |
protected virtual void OnHeaderClicked( HeaderClickedEventArgs e ); |
C++ |
protected: virtual void OnHeaderClicked( HeaderClickedEventArgs^ e ); |
e
The event data.
Comments
The OnHeaderClicked method raises the HeaderClicked event.
Raising an event invokes the event handler through a delegate.
The OnHeaderClicked 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 OnHeaderClicked in a derived class, make sure to call the base class's OnHeaderClicked method so that registered delegates receive the event.