Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / QueryGroupKeysEventArgs Class / GroupKeys Property


In This Topic
    GroupKeys Property
    In This Topic
    Gets a list containing the group values.
    Syntax
    'Declaration
     
    Public ReadOnly Property GroupKeys As GroupKeyList
    'Usage
     
    Dim instance As QueryGroupKeysEventArgs
    Dim value As GroupKeyList
     
    value = instance.GroupKeys
    public GroupKeyList GroupKeys {get;}

    Property Value

    A reference to an Xceed.Grid.Collections.GroupKeyList object containing the group values.
    Remarks

    This property will contain the same amount of values as GridControl.GroupTemplates.Count.

    For example: let's assume that 2 groups have been added to the GroupTemplates property. The first group's GroupBy property has been set to "ShipCountry" and the second group's GroupBy property has been set to "ShipCity".

    When the QueryGroupKeys event is triggered, the contents of the GroupKeys parameter might be: "Canada" as the first value (GroupKeys[ 0 ]) and "Montreal" as the second value (GroupKeys[ 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