NetXP 3.0 Reference

ICommandBarRenderer.DrawExpansionItem Method 

Draws an expansion item.

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

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?
chevron
Show a chevron?

See Also

ICommandBarRenderer Interface | NETXP.Controls.Bars Namespace