Version

ApplyCustomFilter(CustomFilterCondition,CustomFilterCondition,ConditionalOperator) Method

Syntax

Parameters

condition1
The first condition used to filter the data.
condition2
The second condition used to filter the data.
conditionalOperator
The operator which defines how to logically combine condition1 and condition2.
Exceptions
ExceptionDescription
System.ArgumentNullExceptioncondition1 is null.
Infragistics.Documents.Excel.MockClasses.InvalidEnumArgumentExceptionconditionalOperator is not defined in the Infragistics.Documents.Excel.Filtering.ConditionalOperator enumeration.
System.InvalidOperationExceptionThe WorksheetTable.IsFilterUIVisible value of the owning table is False. Filters cannot be applied when the header row or filter button is hidden.
Remarks

If condition2 is null, the conditionalOperator value is irrelevant.

Note: If one of the filter condition values is longer than 255 characters in length and the workbook is saved in one of the 2003 formats, the correct rows will be hidden in the saved file, but the filter will be missing from the column.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also