ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command.Docking.Drawing Namespace / BoxRenderer Class / DrawThemedDivider Method
A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
The rectangle area to paint.
The color of the border of the rectangle.
A System.Windows.Forms.TabAlignment structure that specifies the locations of the tabs in a tab control.
A boolean flag that indicates whether the divider should be drawn on the right side.

In This Topic
    DrawThemedDivider Method (BoxRenderer)
    In This Topic
    Draws the divider with parameters.
    Syntax
    'Declaration
     
    Public Sub DrawThemedDivider( _
       ByVal g As System.Drawing.Graphics, _
       ByVal r As System.Drawing.Rectangle, _
       ByVal borderColor As System.Drawing.Color, _
       ByVal orientation As System.Windows.Forms.TabAlignment, _
       ByVal rightToLeft As System.Boolean _
    ) 
    public void DrawThemedDivider( 
       System.Drawing.Graphics g,
       System.Drawing.Rectangle r,
       System.Drawing.Color borderColor,
       System.Windows.Forms.TabAlignment orientation,
       System.bool rightToLeft
    )

    Parameters

    g
    A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
    r
    The rectangle area to paint.
    borderColor
    The color of the border of the rectangle.
    orientation
    A System.Windows.Forms.TabAlignment structure that specifies the locations of the tabs in a tab control.
    rightToLeft
    A boolean flag that indicates whether the divider should be drawn on the right side.
    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