NetXP 3.0 Reference

ICommandBarRenderer.DrawMenuBackground Method 

Draws the background of a popup menu.

[Visual Basic]
Sub DrawMenuBackground( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal menuGapLocation As Point, _
   ByVal menuGapSize As Integer _
)
[C#]
void DrawMenuBackground(
   Graphics g,
   Rectangle rect,
   Point menuGapLocation,
   int menuGapSize
);

Parameters

g
The graphics object.
rect
The menu's bounds.
menuGapLocation
The location of the menu gap (for menus shown by command bar items).
menuGapSize
The horizontal size of the menu gap.

See Also

ICommandBarRenderer Interface | NETXP.Controls.Bars Namespace