BCGControlBar Library for .NET
DrawSeparator Method (PopupMenuBar)




A graphics from the PopupMenuBar surface to draw a separator.
The boundaries of the separator to draw.
Specifies if the separator will be drawn horizontally or vertically.
Called by the framework to draw a separator within the PopupMenuBar control.
Syntax
'Declaration
 
Public Overrides Sub DrawSeparator( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle, _
   ByVal horz As Boolean, _
   ByVal largeIconDelimiter As Boolean _
) 
'Usage
 
Dim instance As PopupMenuBar
Dim grph As Graphics
Dim rect As Rectangle
Dim horz As Boolean
Dim largeIconDelimiter As Boolean
 
instance.DrawSeparator(grph, rect, horz, largeIconDelimiter)
public override void DrawSeparator( 
   Graphics grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
)
public: void DrawSeparator( 
   Graphics* grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
) override 
public:
void DrawSeparator( 
   Graphics^ grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
) override 

Parameters

grph
A graphics from the PopupMenuBar surface to draw a separator.
rect
The boundaries of the separator to draw.
horz
Specifies if the separator will be drawn horizontally or vertically.
largeIconDelimiter
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PopupMenuBar Class
PopupMenuBar Members
Base Implementation in DrawSeparator

Send Feedback