BCGControlBar Library for .NET
DrawSeparator Method (CommandBar)




A graphics to draw on.
Boundaries of the separator to draw.
Specifies the orientation of the command bar.
Specifies if the separator is used as large icon delimiter.
Draws a separator on the surface of the command bar.
Syntax
'Declaration
 
Public Overridable Sub DrawSeparator( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle, _
   ByVal horz As Boolean, _
   ByVal largeIconDelimiter As Boolean _
) 
'Usage
 
Dim instance As CommandBar
Dim grph As Graphics
Dim rect As Rectangle
Dim horz As Boolean
Dim largeIconDelimiter As Boolean
 
instance.DrawSeparator(grph, rect, horz, largeIconDelimiter)
public virtual void DrawSeparator( 
   Graphics grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
)
public: virtual void DrawSeparator( 
   Graphics* grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
) 
public:
virtual void DrawSeparator( 
   Graphics^ grph,
   Rectangle rect,
   bool horz,
   bool largeIconDelimiter
) 

Parameters

grph
A graphics to draw on.
rect
Boundaries of the separator to draw.
horz
Specifies the orientation of the command bar.
largeIconDelimiter
Specifies if the separator is used as large icon delimiter.
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

CommandBar Class
CommandBar Members

Send Feedback