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.v20.2.dll


public GridGroupSummarySortInfo(
    GridSummaryItem summaryItem,
    string fieldName,
    ListSortDirection sortOrder
Public Sub New(
    summaryItem As GridSummaryItem,
    fieldName As String,
    sortOrder As ListSortDirection


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.

See Also