The ParserKind property accepts the following values. (Run the XtraTreeList demo to test these modes.)
-
FindPanelParserKind.Default - inherits the global WindowsFormsSettings.FindPanelParserKind property value.
-
FindPanelParserKind.Mixed - the legacy mode that was the only available option before version 19.1, when the ParserKind property was introduced. Combines the logical parts of the entered string with the "OR" operator. In the figure below, the "manager California" search string is transformed into the "manager OR California" query. Tree List highlights all rows that have either "manager" or "California".

If a user adds column names to the search syntax, the operator changes to "AND". For example, both the ""Job Title":manager California" and "manager "Origin State":California" strings are parsed as the "manager AND California" query.

-
FindPanelParserKind.Or - uses the "OR" operator to build a search query. Unlike Mixed mode, it does not switch to the "AND" operator when users add column names.

The operator changes to "AND" only when a user explicitly adds the "+" sign. In the figure below, the "manager Anthony +California" string is treated as the "(manager AND California) OR (manager AND California)" query.

-
FindPanelParserKind.And - uses the "AND" operator to build a search query.

Users can add the "?" character to force the "OR" operator. In the figure below, the "?manager ?Anthony California" string is translated as "California AND (manager OR Anthony)".

-
FindPanelParserKind.Exact - ignores white space; Tree List looks up the entire string entered in the Find Panel as if it is a single word.

-
FindPanelParserKind.Custom - handle the TreeList.ParseFindPanelText event to provide custom Find Panel logic.