Skybound Rebar

RebarBand.OnButtonSelect Method 

Raises the ButtonSelect event.

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

Parameters

e
A RebarButtonEventArgs that contains the event data.

Remarks

The OnButtonSelect 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 OnButtonSelect in a derived class, be sure to call the base class's OnButtonSelect method so that registered delegates receive the event.

See Also

RebarBand Class | Skybound.Rebar Namespace