Xceed SmartUI for WinForms v3.6 Documentation
Margins Constructor


Xceed.SmartUI.UIStyle.v3.6 Assembly > Xceed.SmartUI.UIStyle Namespace > Margins Structure : Margins Constructor
The width, in pixels, of the left margin.
The width, in pixels, of the right margin.
The width, in pixels, of the top margin.
The width, in pixels, of the bottom margin.
Initializes a new Margins structure specifying, in pixels, the width of the left, top, right and bottom borders.
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 Margins(left, right, top, bottom)
public Margins( 
   int left,
   int right,
   int top,
   int bottom
)

Parameters

left
The width, in pixels, of the left margin.
right
The width, in pixels, of the right margin.
top
The width, in pixels, of the top margin.
bottom
The width, in pixels, of the bottom margin.
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

Margins Structure
Margins Members