NetXP 3.0 Reference

ICommandBarRenderer.DrawButtonItem Method 

Draws a button item.

[Visual Basic]
Sub DrawButtonItem( _
   ByVal item As CommandBarButtonItem, _
   ByVal bar As CommandBar, _
   ByVal g As Graphics, _
   ByVal state As DrawItemState, _
   ByVal rect As Rectangle, _
   ByVal dropDown As Boolean _
)
[C#]
void DrawButtonItem(
   CommandBarButtonItem item,
   CommandBar bar,
   Graphics g,
   DrawItemState state,
   Rectangle rect,
   bool dropDown
);

Parameters

item
The item.
bar
The command bar.
g
The graphics object.
state
The item's state.
rect
The item's bounds.
dropDown
Is the item dropped down?

See Also

ICommandBarRenderer Interface | NETXP.Controls.Bars Namespace