Skybound Rebar

RebarBand.OnMenuClick Method 

Raises the MenuClick event.

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

Parameters

e
A RebarButtonEventArgs that contains the event data.

Remarks

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

See Also

RebarBand Class | Skybound.Rebar Namespace