Class GroupColumnDescriptions
Represents a collection of group column description that raises notification for both collection and item changes.
Inheritance
System.Object
GroupColumnDescriptions
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GroupColumnDescriptions : ObservableCollection<GroupColumnDescription>
Remarks
It can allows to add multiple GroupColumnDescription instance to perform grouping.
Constructors
GroupColumnDescriptions()
Initializes a new instance of the GroupColumnDescriptions class.
Declaration
public GroupColumnDescriptions()
Properties
Item[String]
Gets the column from the GroupColumnDescriptions collection at the specified column name.
Declaration
public GroupColumnDescription this[string columnName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | The columnName to the retrieve the corresponding column. |
Property Value
Type | Description |
---|---|
GroupColumnDescription | Returns the corresponding column from the GroupColumnDescriptions collection. |
Methods
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Occurs when the collection is changed.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the event data. |