windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfind-c6945eb7.md
Gets or sets whether the close (‘x’) button is displayed within the Find Panel.
Namespace : DevExpress.XtraGrid.Views.Base
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowCloseButton { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowCloseButton As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the close (‘x’) button is displayed within the Find Panel; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowCloseButton |
|---|---|
| ColumnView |
.OptionsFind .ShowCloseButton
|
Use the following properties to show/hide the operation buttons:
ColumnView.OptionsFind.ShowCloseButton - the X button that closes the panel.
ColumnView.OptionsFind.ShowClearButton - the Clear button.
ColumnView.OptionsFind.ShowSearchNavButtons - the Previous and Next buttons allow users to navigate between search results. These buttons are only displayed in Search mode.
ColumnView.OptionsFind.ShowFindButton - the Find button that applies the query. This button is only displayed in Filter mode and if the find panel is not embedded into the group panel.
See Also