Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartBorders Class / SmartBorders Constructor
The width of the left border.
The width of the right border.
The width of the top border.
The width of the bottom border.


In This Topic
    SmartBorders Constructor
    In This Topic
    Initializes a new instance of the SmartBorders class specifying the width of each border.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal left As Integer, _
       ByVal right As Integer, _
       ByVal top As Integer, _
       ByVal bottom As Integer _
    )
    'Usage
     
    Dim left As Integer
    Dim right As Integer
    Dim top As Integer
    Dim bottom As Integer
     
    Dim instance As New SmartBorders(left, right, top, bottom)
    public SmartBorders( 
       int left,
       int right,
       int top,
       int bottom
    )

    Parameters

    left
    The width of the left border.
    right
    The width of the right border.
    top
    The width of the top border.
    bottom
    The width of the bottom border.
    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