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