Skybound Rebar

RebarBand.OnMeasureButton Method 

Raises the MeasureButton event.

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

Parameters

e
A MeasureButtonEventArgs that contains the event data.

Remarks

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

See Also

RebarBand Class | Skybound.Rebar Namespace