TreeListOptionsFind.Behavior Property

Gets or sets whether records that do not match a query in the find panel are hidden.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Property Value

Type Default Description
FindPanelBehavior

Default

A FindPanelBehavior enumeration value that specifies whether records that do not match the query are hidden.

Property Paths

You can access this nested property as listed below:

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

Remarks

The Behavior property specifies how to show search results:

  • Filter — hides records that do not match the query, and optionally highlights results in the tree list.

  • Search — highlights results in the tree list and on the scrollbar.

If this property is set to Default, the behavior depends on the static (Shared in VB) WindowsFormsSettings.FindPanelBehavior property. If the latter property is also set to Default, the Filter mode is applied.

To specify whether to highlight results, use the TreeList.OptionsFind.HighlightFindResults property.

See Also