Skybound Rebar

RebarMenuItemRenderer.RenderItem Method 

Renders the current menu item onto a specified Graphics object.

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

Parameters

graphics
The Graphics surface on which the menu item is drawn.

Remarks

This method renders all the elements of the item. Alternately, you can render a single element at a time using the DrawBackground, DrawImage, DrawText and DrawArrow methods (in that order).

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace