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

Returns whether the specified condition matches the current one.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public bool IsEqual(
    PivotGridFieldSortCondition condition,
    Comparison<object> compareValues,
    bool isOLAP
)
Public Function IsEqual(
    condition As PivotGridFieldSortCondition,
    compareValues As Comparison(Of Object),
    isOLAP As Boolean
) As Boolean

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