NetXP 3.0 Reference

ICommandBarRenderer.DrawMenuShadowHorizontal Method 

Draws a horizontal popup menu shadow.

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

Parameters

g
The graphics object.
rect
The shadow's bounding rectangle.
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