Skybound Rebar

RebarMenuRenderer.DrawBreak Method 

Draws a space or separator bar between horizontal columns of menu items.

[Visual Basic]
Overridable Public Sub DrawBreak( _
   ByVal graphics As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal barBreak As Boolean _
)
[C#]
public virtual void DrawBreak(
   Graphics graphics,
   Rectangle bounds,
   bool barBreak
);

Parameters

graphics
The Graphics surface to draw on.
bounds
The bounds of the area to draw.
barBreak
Specify true to draw a vertical separator bar; otherwise, specify false, and the area is drawn as an empty space.

Remarks

The default implementation fills the background with BackColor, and draws a 3D etched line when barBreak is true.

See Also

RebarMenuRenderer Class | Skybound.Rebar.Rendering Namespace