Back to Devexpress

TreeListView.AutoFilterRowClearButtonMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-82527ee4.md

latest3.5 KB
Original Source

TreeListView.AutoFilterRowClearButtonMode Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public AutoFilterRowClearButtonMode AutoFilterRowClearButtonMode { get; set; }
vb
Public Property AutoFilterRowClearButtonMode As AutoFilterRowClearButtonMode

Property Value

TypeDescription
AutoFilterRowClearButtonMode

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

|

Available values:

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

xaml
<dxg:GridControl.View>
    <dxg:TreeListView 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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace