RepositoryItemSearchControl.FilterCondition Property
Gets or sets the comparison operator (Equals, Starts With, and so forth) used to compare the attached control’s items with the query in the search box. This property is only in effect if the SearchControl is attached to a ListBoxControl.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v20.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(FilterCondition.Default)]
[DXCategory("Behavior")]
public FilterCondition FilterCondition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
FilterCondition | **Default** | An enumeration value that specifies a comparison operator. |
Available values:
Name | Description |
---|---|
Contains | Specifies the Contains comparison operation. |
StartsWith | Specifies the StartsWith comparison operation. |
Like | Specifies the Like comparison operation. |
Default | Specifies the default comparison operation. |
Equals | Specifies the Equals comparison operation. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterCondition property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.