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

PivotGridFieldSortConditionCollection.Item[PivotGridFieldBase] Property

Gets the sort condition by the corresponding field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v18.2.Core.dll

Declaration

public PivotGridFieldSortCondition this[PivotGridFieldBase field] { get; }

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant that represents the pivot grid field.

Property Value

Type Description
PivotGridFieldSortCondition

A PivotGridFieldSortCondition object specifying the sort condition that corresponds to the specified field.

Remarks

You can also obtain the index of the sort condition by the corresponding field using the PivotGridFieldSortConditionCollection.IndexOf method.

See Also