Docking Tab for WinForms | ComponentOne
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
    In This Topic
    Draws the divider with parameters.
    Syntax
    'Declaration
     
    
    Public Sub DrawThemedDivider( _
       ByVal g As Graphics, _
       ByVal r As Rectangle, _
       ByVal borderColor As Color, _
       ByVal orientation As TabAlignment, _
       ByVal rightToLeft As Boolean _
    ) 

    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.
    See Also