Xceed Grid for WinForms v4.3 Documentation
Margins Constructor(Int32,Int32,Int32,Int32)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > Margins Structure > Margins Constructor : Margins Constructor(Int32,Int32,Int32,Int32)
The width, in pixels, of the left margin.
The width, in pixels, of the right margin.
The height, in pixels, of the top margin.
The height, in pixels, of the bottom margin.
Initializes a new instance of the Margins structure.
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 height, in pixels, of the top margin.
bottom
The height, 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
Overload List