Skybound Rebar

DrawBandEventArgs Class

Provides data for the DrawBandEventHandler event.

For a list of all members of this type, see DrawBandEventArgs Members.

System.Object
   System.EventArgs
      Skybound.Rebar.DrawBandEventArgs

[Visual Basic]
Public Class DrawBandEventArgs
    Inherits EventArgs
[C#]
public class DrawBandEventArgs : EventArgs

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The DrawBandEventArgs class provides a reference to the band being drawn, a Graphics object to draw on, and a RebarBandRenderer that can be used to draw or measure various elements of the band.

Also note that it is not necessary to draw the background of each band. The Rebar control does this automatically before the DrawBand event is invoked. If you want to change the way the background of a rebar is drawn, create a custom class that inherits from Rebar and override the OnPaintBackground method.

Requirements

Namespace: Skybound.Rebar

Assembly: Skybound.Rebar (in Skybound.Rebar.dll)

See Also

DrawBandEventArgs Members | Skybound.Rebar Namespace