GridGroupSummarySortInfo(GridSummaryItem, String, ListSortDirection) Constructor
Initializes a new instance of the GridGroupSummarySortInfo class with the specified summary item, group column and sort order.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
public GridGroupSummarySortInfo(
GridSummaryItem summaryItem,
string fieldName,
ListSortDirection sortOrder
)
Parameters
Name | Type | Description |
---|---|---|
summaryItem | GridSummaryItem | A GridSummaryItem object, representing a summary item used to calculate summary values for groups of rows. This value is assigned to the GridGroupSummarySortInfo.SummaryItem property. |
fieldName | String | A String value that specifies the field name of a column that defines the nesting level of the group whose data rows are sorted by summary values. This value is assigned to the GridGroupSummarySortInfo.FieldName property. |
sortOrder | ListSortDirection | A ListSortDirection enumeration value that specifies the sort order. This value is assigned to the GridGroupSummarySortInfo.SortOrder property. |