PivotGridOptionsBehaviorBase.SortBySummaryDefaultOrder Property

Gets or sets the sort order applied to a field when sorting by summaries is enabled for it.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

[DefaultValue(PivotSortBySummaryOrder.Default)]
public PivotSortBySummaryOrder SortBySummaryDefaultOrder { get; set; }
<DefaultValue(PivotSortBySummaryOrder.Default)>
Public Property SortBySummaryDefaultOrder As PivotSortBySummaryOrder

Property Value

Type Default Description
PivotSortBySummaryOrder

Default

A PivotSortBySummaryOrder enumeration member that specifies the sort order applied to a field when sorting by summaries is enabled for it.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SortBySummaryDefaultOrder
WinForms Controls PivotGridControl
.OptionsBehavior.SortBySummaryDefaultOrder
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsBehavior.SortBySummaryDefaultOrder
MVCxPivotGrid
.OptionsBehavior.SortBySummaryDefaultOrder
PivotGridSettings
.OptionsBehavior.SortBySummaryDefaultOrder
Reporting XRPivotGrid
.OptionsBehavior.SortBySummaryDefaultOrder

Remarks

The field sort order is specified by the PivotGridFieldBase.SortOrder property. If the SortBySummaryDefaultOrder property is set to PivotSortBySummaryOrder.Default, sorting by summaries does not change the PivotGridFieldBase.SortOrder property value. Otherwise, if the SortBySummaryDefaultOrder property is set to either PivotSortBySummaryOrder.Ascending or PivotSortBySummaryOrder.Descending, the PivotGridFieldBase.SortOrder property will be set to PivotSortOrder.Ascending or PivotSortOrder.Descending (respectively) when sorting by summaries is enabled.

To learn more, see Sorting by Summary.

See Also