Back to Devexpress

TreeListView.ShowAutoFilterRow Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-ca945a4a.md

latest3.5 KB
Original Source

TreeListView.ShowAutoFilterRow Property

Gets or sets whether to display the Automatic Filter Row. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool ShowAutoFilterRow { get; set; }
vb
Public Property ShowAutoFilterRow As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to display the automatic filter row; otherwise, false.

|

Remarks

Users can type text into the Automatic Filter Row to filter data against the entered values. To show the Automatic Filter Row, set the ShowAutoFilterRow property to true:

xaml
<dxg:GridControl.View>
    <dxg:TreeListView ShowAutoFilterRow="True"/>
</dxg:GridControl.View>

The TreeListView.AutoFilterRowPosition property allows you to specify where to display the Automatic Filter Row. Set this property to Header to embed the Automatic Filter Row into the Column Header Panel. In this case, the GridControl adds “magnifying glass” icons ( ) to column headers. These icons become visible when a user hovers the mouse pointer over a header. Once a user clicks on such an icon, the entire column header becomes the Automatic Filter Row‘s cell:

To allow users to choose a criteria type in the Automatic Filter Row, set the TreeListView.ShowCriteriaInAutoFilterRow property to true.

Refer to the following help topic for more information: Automatic Filter Row.

See Also

ImmediateUpdateAutoFilter

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace