Class GridColumnGroup
A class used to represent the possible grouping headers for columns in the IBaseGrid<T> itself
This is heiarchical allowing multiple grouping levels
Columns within the Columns() definition can refer to the UniqueKey to indicate which column header grouping they should reside withinInheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public class GridColumnGroup : BaseTreeNode<(string Name, string Key), GridColumnGroup>, ITreeNode<(string Name, string Key), GridColumnGroup>, ITreeNode<(string Name, string Key)>, ITreeNode, IHasChildren<GridColumnGroup>, IHasChildren
Constructors
GridColumnGroup(String, String)
Creates a new column grouping for a IBaseGrid<T>
Declaration
public GridColumnGroup(string name, string uniqueKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The user friendly name for the grid column grouping header |
System.String | uniqueKey | The unique key for this column heading which can be referred to in column definitions for the grid |
GridColumnGroup(String, String, GridColumnGroup)
Creates a new column grouping for a IBaseGrid<T>
Declaration
public GridColumnGroup(string name, string uniqueKey, GridColumnGroup parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The user friendly name for the grid column grouping header |
System.String | uniqueKey | The unique key for this column heading which can be referred to in column definitions for the grid |
GridColumnGroup | parent | The parent column grouping header that this one is a child of |
Properties
Name
The user friendly name for the grid column grouping header
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UniqueKey
The unique key for this column heading which can be referred to in column definitions for the grid
Declaration
public string UniqueKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CreateNewItem((String Name, String Key), GridColumnGroup)
Creates a new grid column group for use internally when adding child members
Declaration
protected override GridColumnGroup CreateNewItem((string Name, string Key) item, GridColumnGroup parent)
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.String, System.String> | item | The name and key for this group column header |
GridColumnGroup | parent | The parent column grouping header that this one is a child of |
Returns
Type | Description |
---|---|
GridColumnGroup | A new grid column group for use internally when adding child members |