Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / DetailGrid Class / DetailGrid Constructor / DetailGrid Constructor(GroupMargin,SpacerRow,SpacerRow)
A reference to a GroupMargin object representing the side margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).
A reference to a SpacerRow object representing the top margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).
A reference to a SpacerRow object representing the bottom margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).


In This Topic
    DetailGrid Constructor(GroupMargin,SpacerRow,SpacerRow)
    In This Topic
    Initializes a new instance of the DetailGrid class specifying its margins.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sideMargin As GroupMargin, _
       ByVal topMargin As SpacerRow, _
       ByVal bottomMargin As SpacerRow _
    )
    'Usage
     
    Dim sideMargin As GroupMargin
    Dim topMargin As SpacerRow
    Dim bottomMargin As SpacerRow
     
    Dim instance As New DetailGrid(sideMargin, topMargin, bottomMargin)
    public DetailGrid( 
       GroupMargin sideMargin,
       SpacerRow topMargin,
       SpacerRow bottomMargin
    )

    Parameters

    sideMargin
    A reference to a GroupMargin object representing the side margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).
    topMargin
    A reference to a SpacerRow object representing the top margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).
    bottomMargin
    A reference to a SpacerRow object representing the bottom margin of the detail grid. Cannot be a null reference (Nothing in Visual Basic).
    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