windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-cc1cc345.md
Gets or sets the display style of column filter buttons.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(FilterButtonShowMode.Default)]
[XtraSerializableProperty]
public virtual FilterButtonShowMode HeaderFilterButtonShowMode { get; set; }
<DefaultValue(FilterButtonShowMode.Default)>
<XtraSerializableProperty>
Public Overridable Property HeaderFilterButtonShowMode As FilterButtonShowMode
| Type | Default | Description |
|---|---|---|
| FilterButtonShowMode | Default |
A FilterButtonShowMode enumeration value which specifies the display style of column filter buttons.
|
Available values:
| Name | Description |
|---|---|
| Default |
The same as the FilterButtonShowMode.SmartTag option.
| | Button |
Filter buttons are rendered as buttons. They are displayed when a column is filtered or when the mouse cursor hovers over the column header.
| | SmartTag |
Filter buttons are rendered as small tags. They are displayed when a column is filtered or when the mouse cursor hovers over the column header.
|
You can access this nested property as listed below:
| Object Type | Path to HeaderFilterButtonShowMode |
|---|---|
| GridView |
.OptionsView .HeaderFilterButtonShowMode
|
Column filter buttons are displayed when a column is filtered or when the mouse cursor hovers over the column header. If column headers occupy more than one line due to the GridOptionsView.ColumnHeaderAutoHeight property set to true , filter buttons are always visible if the HeaderFilterButtonShowMode property is set to Button.
See Also
GridOptionsCustomization.AllowFilter