Draws the borders of the button onto a specified Graphics object.
This method draws the borders of a rebar button. You can obtain the bounds in which the borders will be drawn by calling GetButtonRectangle and GetDropDownRectangle.
For separator buttons, this method draws a vertical etched line through the center of the button. For RebarButtonType.MenuOrPush buttons, both the borders for the push and drop-down button are drawn. For other types of buttons, a border is drawn around the bounds of the button.
When visual styles are enabled and BandType is RebarBandType.MenuBar, no borders are drawn.
RebarButtonRenderer Class | Skybound.Rebar.Rendering Namespace