Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / DoubleLineBorder Class / DoubleLineBorder Constructor / DoubleLineBorder Constructor(Color,Boolean,Boolean,Boolean,Boolean)
Color of the double lines
Whether to draw the left side
Whether to draw the top
Whether to draw the right side
Whether to draw the bottom


In This Topic
    DoubleLineBorder Constructor(Color,Boolean,Boolean,Boolean,Boolean)
    In This Topic
    Creates a double-line border with the specified color, a width of 3, and sides on which the border is drawn.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal left As Boolean, _
       ByVal top As Boolean, _
       ByVal right As Boolean, _
       ByVal bottom As Boolean _
    )
    'Usage
     
    
    Dim color As Color
    Dim left As Boolean
    Dim top As Boolean
    Dim right As Boolean
    Dim bottom As Boolean
     
    Dim instance As New DoubleLineBorder(color, left, top, right, bottom)
    public DoubleLineBorder( 
       Color color,
       bool left,
       bool top,
       bool right,
       bool bottom
    )

    Parameters

    color
    Color of the double lines
    left
    Whether to draw the left side
    top
    Whether to draw the top
    right
    Whether to draw the right side
    bottom
    Whether to draw the bottom
    See Also