Back to Devexpress

TreeListOptionsFind.ClearFindOnClose Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsfind-5c9483c6.md

latest2.6 KB
Original Source

TreeListOptionsFind.ClearFindOnClose Property

Gets or sets whether the Find Panel’s search (filter) string is cleared when the Find Panel is hidden.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ClearFindOnClose { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ClearFindOnClose As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the Find Panel’s search string is cleared on hiding the control; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ClearFindOnClose
TreeList

.OptionsFind .ClearFindOnClose

|

Remarks

If the ClearFindOnClose property is enabled, the Find Panel’s search string (TreeList.FindFilterText) is cleared on hiding the panel.

An end-user can hide the Find Panel by clicking the close (‘x’) button, provided that the TreeListOptionsFind.ShowCloseButton property is set to true and the TreeListOptionsFind.AlwaysVisible property is set to false. The Find Panel can be hidden in code using the TreeList.HideFindPanel method.

See Also

HideFindPanel()

TreeListOptionsFind Class

TreeListOptionsFind Members

DevExpress.XtraTreeList.Columns Namespace