Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / SideMargin Property


In This Topic
    SideMargin Property (GridControl)
    In This Topic
    Gets the side margin of the grid.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The side margin of the grid.")>
    <CategoryAttribute("Appearance")>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
    <TypeConverterAttribute("Xceed.Grid.Design.BlankExpandableObjectConverter,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <MergablePropertyAttribute(False)>
    Public ReadOnly Property SideMargin As GroupMargin
    'Usage
     
    Dim instance As GridControl
    Dim value As GroupMargin
     
    value = instance.SideMargin
    [Description("The side margin of the grid.")]
    [Category("Appearance")]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    [TypeConverter("Xceed.Grid.Design.BlankExpandableObjectConverter,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [MergableProperty(false)]
    public GroupMargin SideMargin {get;}

    Property Value

    A reference to a GroupMargin object representing the side margin of the grid.
    Remarks

    The side margin is present when detail grids are displayed and contains the tree lines and the [+] or [-]symbols for expanding the detail grids.

    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