A newer version of this page is available. Switch to the current version.

ColumnViewOptionsFind.ShowCloseButton Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowCloseButton { get; set; }

Property Value

Type Default Description
Boolean

true

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 Type Path to ShowCloseButton
AdvBandedGridView
.OptionsFind.ShowCloseButton
BandedGridView
.OptionsFind.ShowCloseButton
ColumnView
.OptionsFind.ShowCloseButton
CardView
.OptionsFind.ShowCloseButton
GridView
.OptionsFind.ShowCloseButton
LayoutView
.OptionsFind.ShowCloseButton
TileView
.OptionsFind.ShowCloseButton
WinExplorerView
.OptionsFind.ShowCloseButton

Remarks

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

See Also