Skip to main content

PivotGridFieldSortConditionCollection.Item[PivotGridFieldBase] Property

Gets the sort condition by the corresponding field.

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

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