Contains values that specify how a control’s Find Panel combines entered words to create a search query.
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.
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)‘
The exact match. If the entered string contains the space characters, the words are not treated separately.
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‘.
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.
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: