ColumnBase.EditFormTemplate Property

Gets or sets the template of the editor associated with the current column in the edit form.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll


public DataTemplate EditFormTemplate { get; set; }

Property Value

Type Description

A DataTemplate object that defines the presentation of a data editor.


A template specified by the EditFormTemplate property is applied to the editor displayed in the edit form.

The following example demonstrates the GridControl that displays the inline edit form. The SpinEdit editor is used for the Visits field.

<dxg:GridControl ItemsSource="{Binding Data}">
        <dxg:TableView EditFormShowMode="Inline">
    <dxg:GridColumn FieldName="Name" />
    <dxg:GridColumn FieldName="City" />
    <dxg:GridColumn FieldName="IsOccupied" />
    <dxg:GridColumn FieldName="Visits">
        <!-- Edit form displays a spin editor for the Visits field -->
                <dxe:SpinEdit Name="PART_Editor"/>
    <dxg:GridColumn FieldName="Birthday" />

To learn more, see Appearance Customization.

See Also