Skybound Rebar

Rebar.OnDrawBand Method 

Raises the DrawBand event.

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

Parameters

e
The data for the event.

Remarks

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

See Also

Rebar Class | Skybound.Rebar Namespace