PivotGridField.AllowSort Property

Gets or sets whether an end-user can modify the field's current sort order. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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


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

Property Value

Type Description

true if an end-user can modify the field's current sort order; otherwise, false.


Data within the DXPivotGrid control is always sorted against the fields displayed within the Column Header Area and Row Header Area. An end-user can click a field's header to toggle the sort order.

Use the PivotGridField.SortOrder property to specify the field's sort order. The AllowSort property lets you prevent end-users from modifying the field's current sort order. In this case, a click on the field's header has no effect.

See Also