TreeListOptionsFind.ExpandNodesOnSearch Property
Gets or sets whether to expand a node if its child nodes contain the search string.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ExpandNodesOnSearch { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to ExpandNodesOnSearch |
---|---|
TreeList |
|
Remarks
The ExpandNodesOnSearch
property is in effect if the ColumnViewOptionsFind.Behavior property is set to Search
.
When a user starts to search with the ExpandNodesOnSearch
option enabled, the Tree List expands all nodes whose child nodes match the search query: