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.v19.1.dll
Declaration
[DXCategory("Data")]
[DefaultValue(FindPanelBehavior.Default)]
[XtraSerializableProperty]
public virtual FindPanelBehavior Behavior { get; set; }
Property Value
Type | Default | Description |
---|---|---|
FindPanelBehavior | **Default** | A DevExpress.XtraEditors.FindPanelBehavior enumeration value that specifies whether records that do not match the query are hidden. |
Available values:
Name | Description |
---|---|
Default | When the WindowsFormsSettings.FindPanelBehavior property is set to Default, the actual setting is Filter. When a control’s OptionsFind.Behavior property is set to Default, the actual setting is specified by the WindowsFormsSettings.FindPanelBehavior property. |
Filter | Hide records that do not match a query. Highlight search results in cells. |
Search | Highlight search results in cells and on the scrollbar |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Behavior |
---|---|---|
WinForms Controls | ResourcesTree |
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
Remarks
The Find Panel supports two modes:
- 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.
Use the following properties to specify how to show search results:
- for the entire application — the static (Shared in Visual Basic) WindowsFormsSettings.FindPanelBehavior property. The
Filter
mode is applied if this setting is set toDefault
. - for the current control — the
Behavior
property. The static (Shared in Visual Basic) WindowsFormsSettings.FindPanelBehavior property is applied if this setting is set toDefault
.