Skip to main content

TemplateColumn.EditTemplate Property

Gets or sets a template applied for the column values editor. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public DataTemplate EditTemplate { get; set; }

Property Value

Type Description
Xamarin.Forms.DataTemplate

A Xamarin.Forms.DataTemplate object.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

GridControl provides various ways to customize the appearance of its elements. For simple customizations (such as modifying colors, fonts, etc.) use appropriate customizer objects. If you need to completely modify the appearance of a particular grid element, you can define a custom template for it.

The EditTemplate property allows you to define a template for the inplace edit form. For this purpose, create a column of the TemplateColumn type, assign the required template to the column’s EditTemplate property and add the templated column to the GridControl.Columns collection.

To customize the popup edit form, follow the steps from the How to: Implement a Custom Row Edit Form document.

Tip

Also, you can define a data template for the column cells when they display column data values and for the column headers. For this purpose, use the TemplateColumn.DisplayTemplate or GridColumn.HeaderTemplate property respectively.

See Also