Back to Devexpress

ColumnBase.AutoFilterRowEditTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-fdff7752.md

latest2.7 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ControlTemplate AutoFilterRowEditTemplate { get; set; }
vb
Public Property AutoFilterRowEditTemplate As ControlTemplate

Property Value

TypeDescription
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

AutoFilterRowDisplayTemplate

Assign Editors to Cells

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace