Provides data for the DrawButtonEventHandler event.
For a list of all members of this type, see DrawButtonEventArgs Members.
System.Object
System.EventArgs
Skybound.Rebar.DrawButtonEventArgs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The DrawButtonEventArgs class provides a reference to the button being drawn, a Graphics object to draw on, and a RebarButtonRenderer that can be used to draw or measure various elements of the rebar button.
Also note that, as with bands, it is not necessary to draw the background of each button. The Rebar control does this automatically before the DrawButton 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.
Namespace: Skybound.Rebar
Assembly: Skybound.Rebar (in Skybound.Rebar.dll)
DrawButtonEventArgs Members | Skybound.Rebar Namespace