Back to Devexpress

XRLabel.InteractiveSorting Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-740293f8.md

latest2.3 KB
Original Source

XRLabel.InteractiveSorting Property

Enables sorting a report in Print Preview by clicking the XRLabel.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[SRCategory(ReportStringId.CatBehavior)]
public SortingOptions InteractiveSorting { get; }
vb
<SRCategory(ReportStringId.CatBehavior)>
Public ReadOnly Property InteractiveSorting As SortingOptions

Property Value

TypeDescription
SortingOptions

A SortingOptions object.

|

Remarks

The following image illustrates how to access the InteractiveSorting option in the Properties window.

To enable sorting the report data in Print Preview, set the SortingOptions.TargetBand property to the required Group Header or Detail band, and the SortingOptions.FieldName property to the corresponding group field.

Note

Reports embedded into the current report using the XRSubreport control do not support interactive data sorting.

To learn more, see Sorting a Report in Print Preview.

See Also

Sort a Report in Print Preview

XRLabel Class

XRLabel Members

DevExpress.XtraReports.UI Namespace