Skybound Rebar

RebarMenuItemRenderer.DrawBackground Method 

Draws the background of the menu item to the specified Graphics surface.

[Visual Basic]
Overridable Public Sub DrawBackground( _
   ByVal graphics As Graphics _
)
[C#]
public virtual void DrawBackground(
   Graphics graphics
);

Parameters

graphics
The Graphics surface on which the background is drawn.

Remarks

This method draws the background of the menu item within its bounds. The default implementation fills the background with the BackColor.

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace