Skip to main content
Tab

ASPxGridViewCommandButtonSettings.ClearFilterButton Property

Gets the Clear command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public GridViewCommandButtonSettings ClearFilterButton { get; }

#Property Value

Type Description
GridViewCommandButtonSettings

A GridViewCommandButtonSettings object that specifies the button’s settings.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to ClearFilterButton
ASP.NET MVC Extensions GridViewSettings
.SettingsCommandButton .ClearFilterButton
MVCxGridViewProperties
.SettingsCommandButton .ClearFilterButton
ASP.NET Web Forms Controls ASPxGridView
.SettingsCommandButton .ClearFilterButton
GridViewProperties
.SettingsCommandButton .ClearFilterButton

#Remarks

The Clear button clears the filter expression applied to the ASPxGridView. Use the ClearFilterButton property to specify the button’s image, caption and type. The button visibility in a column is specified by the GridViewCommandColumn.ShowClearFilterButton property.

The Clear button can be displayed if the Filter Row is visible and a filter expression is applied to the grid.

See Also