FindPanelParserKind Enum
Contains values that specify how a controlâs Find Panel combines entered words to create a search query.
Namespace: DevExpress.Data.Filtering
Assembly:
DevExpress.Data.v26.1.dll
Declaration
public enum FindPanelParserKind
Public Enum FindPanelParserKind
Members
| Name |
Description |
Default
|
When the WindowsFormsSettings.FindPanelParserKind setting equals Default, this value is interpreted as And. If you set the WindowsFormsSettings.DefaultSettingsCompatibilityMode property to v18_2 or an earlier version, the Default value is interpreted as Mixed.
When a controlâs ParserKind property is set to Default, the WindowsFormsSettings.FindPanelParserKind setting specifies the actual behavior for this control.
|
Mixed
|
Words are combined by the âORâ operator. The operator changes to âANDâ if you specify a column name before a search word. The âadministrator owner Country:Swedenâ string is treated as â(administrator OR owner) AND Sweden(in the Country column)â
|
Exact
|
The exact match. If the entered string contains the space characters, the words are not treated separately.
|
And
|
Words are combined by the âANDâ operator.
The operator changes to âORâ when you precede a word with the â?â character.
The operator changes to âNOTâ/âAND NOTâ when you precede a word with the â-â sign. The â?administrator ?Maria Sweden -Ownerâ is treated as âSweden AND (administrator OR Maria) AND NOT Ownerâ
|
Or
|
Words are combined by the âORâ operator. The operator changes to âANDâ when you precede a word with the â+â sign. The âadministrator Maria +Swedenâ string is treated as the âSweden AND (administrator OR Maria)â query.
|
Custom
|
Allows you to implement a custom parser by handling a controlâs ParseFindPanelText event.
|
Related API Members
The following properties accept/return FindPanelParserKind values:
Use the WindowsFormsSettings.FindPanelParserKind property to specify the default behavior for all controls.
To override this behavior for individual controls, use the following properties:
See Also