Back to Devexpress

Filter Bar

aspnetmvc-16884-components-grid-view-visual-elements-filter-bar.md

latest2.8 KB
Original Source

Filter Bar

  • Dec 17, 2020

The Filter Bar displays a string representation of the filter criteria applied to a GridView. It also displays the following elements:

  • Filter Expression - the filter criterion which is applied to a GridView;
  • Clear command - clears the current filter;
  • Enable Filter check box - enables or temporarily disables the current filter;
  • Filter Image - click this image to invoke the Filter Builder.

The table below lists the main members that affect element appearance and functionality.

|

Characteristics

|

Members

| | --- | --- | |

Visibility

|

ASPxGridSettings.ShowFilterBar (by GridViewSettings.Settings .ShowFilterBar )

| |

Content

|

ASPxGridTextSettingsBase.FilterBarClear (by GridViewSettings.SettingsText .FilterBarClear ),

ASPxGridTextSettingsBase.FilterBarCreateFilter (by GridViewSettings.SettingsText .FilterBarCreateFilter ),

ASPxGridBase.FilterExpression (by MVCxGridView .FilterExpression )

| |

Appearance

|

GridViewStyles.FilterBar (by GridViewSettings.Styles .FilterBar ),

GridViewStyles.FilterBarCheckBoxCell (by GridViewSettings.Styles .FilterBarCheckBoxCell ),

GridViewStyles.FilterBarClearButtonCell (by GridViewSettings.Styles .FilterBarClearButtonCell ),

GridViewStyles.FilterBarExpressionCell (by GridViewSettings.Styles .FilterBarExpressionCell ),

GridViewStyles.FilterBarImageCell (by GridViewSettings.Styles .FilterBarImageCell ),

GridViewStyles.FilterBarLink (by GridViewSettings.Styles .FilterBarLink )

|