Back to Devexpress

GridOptionsView.HeaderFilterButtonShowMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-cc1cc345.md

latest3.3 KB
Original Source

GridOptionsView.HeaderFilterButtonShowMode Property

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

Declaration

csharp
[DefaultValue(FilterButtonShowMode.Default)]
[XtraSerializableProperty]
public virtual FilterButtonShowMode HeaderFilterButtonShowMode { get; set; }
vb
<DefaultValue(FilterButtonShowMode.Default)>
<XtraSerializableProperty>
Public Overridable Property HeaderFilterButtonShowMode As FilterButtonShowMode

Property Value

TypeDefaultDescription
FilterButtonShowModeDefault

A FilterButtonShowMode enumeration value which specifies the display style of column filter buttons.

|

Available values:

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to HeaderFilterButtonShowMode
GridView

.OptionsView .HeaderFilterButtonShowMode

|

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.

See Also

GridOptionsCustomization.AllowFilter

OptionsColumnFilter.AllowFilter

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace