Skybound Rebar

RebarBand.OnButtonClick Method 

Raises the ButtonClick event.

[Visual Basic]
Overridable Protected Sub OnButtonClick( _
   ByVal e As RebarButtonEventArgs _
)
[C#]
protected virtual void OnButtonClick(
   RebarButtonEventArgs e
);

Parameters

e
A RebarButtonEventArgs that contains the event data.

Remarks

The OnButtonClick 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.

Notes to Inheritors: When overriding OnButtonClick in a derived class, be sure to call the base class's OnButtonClick method so that registered delegates receive the event.

See Also

RebarBand Class | Skybound.Rebar Namespace