Back to Devexpress

TreeListOptionsFind.ShowCloseButton Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsfind-d4b7ec9e.md

latest2.1 KB
Original Source

TreeListOptionsFind.ShowCloseButton Property

Gets or sets whether the close (‘x’) button is displayed within the Find Panel.

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 ShowCloseButton { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowCloseButton As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the close (‘x’) button is displayed within the Find Panel; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCloseButton
TreeList

.OptionsFind .ShowCloseButton

|

Remarks

Clicking the close (‘x’) button hides the Find Panel. In code, the Find Panel can be hidden via the TreeList.HideFindPanel method.

See Also

ShowFindPanel()

HideFindPanel()

TreeListOptionsFind Class

TreeListOptionsFind Members

DevExpress.XtraTreeList.Columns Namespace