Back to Devexpress

GroupField.SortOrder Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-groupfield-def9194f.md

latest1.9 KB
Original Source

GroupField.SortOrder Property

Gets or sets the order for the records when grouping or sorting columns in a report’s data source.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(XRColumnSortOrder.Ascending)]
[SRCategory(ReportStringId.CatBehavior)]
public XRColumnSortOrder SortOrder { get; set; }
vb
<DefaultValue(XRColumnSortOrder.Ascending)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property SortOrder As XRColumnSortOrder

Property Value

TypeDefaultDescription
XRColumnSortOrderAscending

An XRColumnSortOrder enumeration value.

|

Available values:

NameDescription
None

The column is not sorted.

| | Ascending |

The column is sorted in ascending order.

| | Descending |

The column is sorted in descending order.

|

Remarks

The SortOrder property specifies a sorting order for the values in the group field. To disable sorting in grouped data, set this property to None.

See Also

Group and Sort the Report Data

GroupField Class

GroupField Members

DevExpress.XtraReports.UI Namespace