Class GroupColumnDescription
Describes a grouping criterion.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GroupColumnDescription : DependencyObject
Constructors
GroupColumnDescription()
Declaration
public GroupColumnDescription()
Fields
ColumnNameProperty
Identifies the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.ColumnName dependency property.
Declaration
public static readonly DependencyProperty ColumnNameProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.ColumnName dependency property.
ComparerProperty
Identifies the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.Comparer dependency property.
Declaration
public static readonly DependencyProperty ComparerProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.Comparer dependency property.
ConverterProperty
Identifies the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.Converter dependency property.
Declaration
public static readonly DependencyProperty ConverterProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.Converter dependency property.
SortGroupRecordsProperty
Identifies the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.SortInnerElements dependency property.
Declaration
public static readonly DependencyProperty SortGroupRecordsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GroupColumnDescription.SortInnerElements dependency property.
Properties
ColumnName
Gets or sets the name of the column.
Declaration
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the name of the column. The default value is null. |
Comparer
Gets or sets the comparer for the apply grouping based on custom logic.
Declaration
public IComparer<object> Comparer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<System.Object> | The comparer for apply grouping based on custom logic. The default value is null. |
Converter
Gets or sets the converter for custom grouping.
Declaration
public IValueConverter Converter { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Data.IValueConverter | The converter for custom grouping. The default value is null. |
SortGroupRecords
Gets or sets the value that indicates whether to sort the inner records of group while using custom grouping.
Declaration
public bool SortGroupRecords { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false. |
Remarks
By default, grouped columns records are not sorted as the values of all the records in one group will be same. So, only groups will be sorted based on group key. In custom grouping cases, grouped columns records value may differ. So in this case, you can sort the records of group by setting SortGroupRecords property to true.