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.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
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 |
---|---|
ColumnView |
|
Remarks
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.
To display the Clear button as a separate button, set the DefaultSettingsCompatibilityMode to v19_1 or earlier.
The separate Clear button is only displayed in Filter mode and if the find panel is not embedded into the group panel.
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.