Back to Devexpress

AutoFilterCondition Enum

mobilecontrols-devexpress-dot-data.md

latest3.9 KB
Original Source

AutoFilterCondition Enum

Enumerates filter conditions used to create a filter criterion based on a value in the Auto-Filter Row.

Namespace : DevExpress.Data

Assembly : DevExpress.XamarinForms.Grid.dll

NuGet Package : DevExpress.XamarinForms.Grid

Declaration

csharp
public enum AutoFilterCondition

Members

NameDescription
Like

Values in a column should start with the value in the Auto Filter Row.

| | Equals |

Values in a column should equal the value in the Auto Filter Row.

| | Contains |

Values in a column should contain the value in the Auto Filter Row.

| | Default |

The filter condition depends on the type of the column.

|

The following properties accept/return AutoFilterCondition values:

Remarks

Use a column’s AutoFilterCondition property to specify the filter condition used to create a filter criterion based on a value in the Auto Filter Row. The default filter depends on the column type.

|

Column Type

|

Default Filter Condition

| | --- | --- | |

NumberColumn

|

Equals

| |

TextColumn

|

Like

| |

AutoCompleteColumn

|

Equals

| |

ComboBoxColumn

|

Equals

| |

DateColumn

|

Equals if FilterMode is set to Value; otherwise, Like

| |

TimeColumn

|

Equals if FilterMode is set to Value; otherwise, Like

| |

CheckBoxColumn

|

Equals

| |

ImageColumn

|

Equals if FilterMode is set to Value; otherwise, Like

| |

PickerColumn

|

Equals

| |

TemplateColumn

|

Equals

|

See Also

Lesson 6: Filter Data

DevExpress.Data Namespace