Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableView.AutoFilterRowClearButtonMode Property

Gets or sets whether non-empty Automatic Filter Row cells display clear buttons.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public AutoFilterRowClearButtonMode AutoFilterRowClearButtonMode { get; set; }

#Property Value

Type Description
AutoFilterRowClearButtonMode

Specifies whether non-empty Automatic Filter Row cells display clear buttons.

Available values:

Name Description
Never

Never display the clear button in the Automatic Filter Row.

Always

Display the clear button in the Automatic Filter Row for display and edit modes of a grid cell.

Display

Display the clear button in the Automatic Filter Row when the display mode is applied.

Edit

Display the clear button in the Automatic Filter Row when the edit mode is applied.

#Remarks

Set the AutoFilterRowClearButtonMode property to Always to display the clear button in the Automatic Filter Row in display and edit modes of a grid cell.

Clear Button

<dxg:GridControl.View>
    <dxg:TableView AutoFilterRowClearButtonMode="Always"/>
</dxg:GridControl.View>

Note

The Clear Button appears only when a filter cell is not empty.

The clear button is not available in editors corresponding to the following classes:

See Also