Skip to main content
Tag

ColumnBase.AutoFilterRowEditTemplate Property

Gets or sets the BaseEdit.EditTemplate for an Automatic Filter Row cell editor. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ControlTemplate AutoFilterRowEditTemplate { get; set; }

Property Value

Type Description
ControlTemplate

The template that displays a custom editor in the Automatic Filter Row‘s cell.

Remarks

The template’s data context is an EditGridCellData object. If the TableView.AutoFilterRowPosition property is set to Header, the template’s data context is a GridColumn object.

This property works similarly to ColumnBase.EditTemplate/BaseEdit.EditTemplate and allows you to customize the default cell editor’s edit box area. For this reason, this property cannot be used to show a simple text field in the Automatic Filter Row if the grid column’s EditSettings property is set to ButtonEditSettings or its descendant. To accomplish this task, set the grid column’s ColumnFilterMode property to DisplayText.

See Also