Skip to main content
A newer version of this page is available. .

PivotGridField.ChangeSortOrder() Method

Toggles the sort order for the current field.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public void ChangeSortOrder()

Remarks

The ChangeSortOrder method toggles the field’s sort order, specified by the PivotGridField.SortOrder property.

To toggle the field sort order asynchronously, use the PivotGridControl.ChangeFieldSortOrderAsync method.

See Also