Skip to main content

CellEditingTemplate Property

Gets or sets the IDataTemplate which is used for the editing mode of the current DataGridCell

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

[InheritDataTypeFromItemsAttribute("ItemsSource", AncestorType = typeof(DataGrid))]
public IDataTemplate CellEditingTemplate { get; set; }

Property Value​

IDataTemplate
An IDataTemplate for the editing mode of the current DataGridCell

Remarks​

If this property is null the column is read-only.

See Also​

Reference​

DataGridTemplateColumn Class
Avalonia.Controls Namespace