EditTemplate Property (GridTemplateColumn)

Gets or sets the System.Windows.DataTemplate to load in editing mode.
Public Property EditTemplate As DataTemplate
Dim instance As GridTemplateColumn
Dim value As DataTemplate
instance.EditTemplate = value
value = instance.EditTemplate
public DataTemplate EditTemplate {get; set;}

Property Value

The template that is used to display the contents of cell in a column that is in editing mode. The default is null.
The Syncfusion.UI.Xaml.Grid.GridColumn.SetCellBoundValue decides whether the data context of the EditTemplate is based on Record or Syncfusion.UI.Xaml.Grid.Cells.DataContextHelper class. By default, Record will be the DataContext for template. If SetCellBoundValue is true, Syncfusion.UI.Xaml.Grid.Cells.DataContextHelper will be the data context.

Syncfusion.SfGrid.WPF: 18.1460.0.52

See Also