GridOptionsView.HeaderFilterButtonShowMode Property
Gets or sets the display style of column filter buttons.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(FilterButtonShowMode.Default)]
[XtraSerializableProperty]
public virtual FilterButtonShowMode HeaderFilterButtonShowMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Filter |
Default | A Filter |
Available values:
Name | Description |
---|---|
Default | The same as the Filter |
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. |
Smart |
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. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Header |
---|---|
Grid |
|
#Remarks
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.