Skip to main content

PivotGridFieldSortCondition.IsEqual(PivotGridFieldSortCondition, Comparison<Object>, Boolean) Method

Returns whether the specified condition matches the current one.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public bool IsEqual(
    PivotGridFieldSortCondition condition,
    Comparison<object> compareValues,
    bool isOLAP
)

Parameters

Name Type Description
condition PivotGridFieldSortCondition

A PivotGridFieldSortCondition object that specifies the condition that should be compared with the current one.

compareValues Comparison<Object>

A System.Comparison descendant that represents the method used to compare conditions.

isOLAP Boolean

true if the conditions represent OLAP members; otherwise, false.

Returns

Type Description
Boolean

true if the specified condition matches the current one; otherwise, false.

See Also