Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GroupBase Class / Level Property


In This Topic
    Level Property
    In This Topic
    Gets a value indicating the level of the group within the group hierarchy.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public ReadOnly Property Level As Integer
    'Usage
     
    Dim instance As GroupBase
    Dim value As Integer
     
    value = instance.Level
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public int Level {get;}

    Property Value

    A zero-based value indicating the level of the group within the group hierarchy.

    For example, if the group is the first group in the group hierarchy, then the value of the Level property will be 0. If the group is the last group in the group hierarchy, then the value of the Level property will be equal to ( GridControl.GroupTemplates.Count -1 ).

    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