PivotGridControl.AllowSort Property

Gets or sets whether end-users can change the sort order of fields. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public bool AllowSort { get; set; }
Public Property AllowSort As Boolean

Property Value

Type Description
Boolean

true to allow end-users to change the sort order of fields; otherwise, false.

Remarks

The AllowSort property is in effect for those fields whose PivotGridField.AllowSort property is set to null. If the AllowSort property is set to false, the sort glyphs are not displayed within field headers, preventing end-users from changing the sort order of fields.

The sort order of fields can also be changed via code using their PivotGridField.SortOrder property.

To learn more, see Data Sorting.

See Also