Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GroupMargin Class / Width Property


In This Topic
    Width Property (GroupMargin)
    In This Topic
    Gets or sets the width of the group margin, in pixels.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The width of the group margin, in pixels.")>
    <CategoryAttribute("Appearance")>
    <AmbientValueAttribute(-2147483648)>
    <LocalizableAttribute(True)>
    <ApplyToDesignerAttribute(True)>
    Public Property Width As Integer
    'Usage
     
    Dim instance As GroupMargin
    Dim value As Integer
     
    instance.Width = value
     
    value = instance.Width
    [Description("The width of the group margin, in pixels.")]
    [Category("Appearance")]
    [AmbientValue(-2147483648)]
    [Localizable(true)]
    [ApplyToDesigner(true)]
    public int Width {get; set;}

    Property Value

    A value representing the width of the group margin, in pixels.
    Remarks

    If the width of a margin is changed at run-time, the margin of all the same level groups is also changed.

    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