TreeListOptionsFind.Condition Property

Gets or sets the operator (Starts With, Contains, etc.) used to evaluate words in cells against keywords in the Find Panel.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("Data")]
[DefaultValue(FilterCondition.Default)]
[XtraSerializableProperty]
public virtual FilterCondition Condition { get; set; }
<DXCategory("Data")>
<DefaultValue(FilterCondition.Default)>
<XtraSerializableProperty>
Public Overridable Property Condition As FilterCondition

Property Value

Type Default Description
FilterCondition

Default

Specifies the filter condition.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Condition
WinForms Controls GanttControl
.OptionsFind.Condition
ResourcesTree
.OptionsFind.Condition
TreeList
.OptionsFind.Condition
Reporting XRDesignFieldList
.OptionsFind.Condition
XRDesignReportExplorer
.OptionsFind.Condition

Remarks

The Condition property accepts the following values. (Run the XtraTreeList demo to test these modes.)

  • FilterCondition.Default - inherits the global WindowsFormsSettings.FindPanelCondition property value.

  • FilterCondition.Contains - searches for all cells that contain the specified text, regardless of its position within the cell.

  • FilterCondition.StartsWith - searches for cells with text that starts with the search string.

  • FilterCondition.Equals - searches for cells with text that is an exact match with the search string.

  • FilterCondition.Like - allows users to enter the "%" character that is a wildcard for any number of characters.

See Also