LookUpEditSettingsBase.FilterCondition Property
Gets or sets the filter condition.
Namespace: DevExpress.Xpf.Editors.Settings
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Nullable<FilterCondition> | A FilterCondition enumeration value that specifies the filter condition. |
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. |
Remarks
Note
The DevExpress Data Editors support the FilterCondition.Contains and FilterCondition.StartsWith conditions only.
If incremental filtering is enabled (the LookUpEditSettingsBase.IncrementalFiltering property is set to true), end-users can filter list items dynamically based upon the text typed into the edit box (find-as-you-type filtering). The FilterCondition property specifies the filter condition (the comparison operator).
If the FilterCondition property is set to FilterCondition.Default, FilterCondition.StartsWith is used.
Note
If the Contains operator is used, the LookUpEditSettingsBase.AutoComplete and BaseEdit.ValidateOnTextInput properties should be set to false.