Skip to main content

DataViewBase.CellTemplate Property

Gets or sets the template that defines the presentation of data cells. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

public DataTemplate CellTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A DataTemplate object that defines the presentation of data cells.

#Remarks

The binding source for the CellTemplate template is specified by the GridCellData class. Each column provides the ColumnBase.CellTemplate property, that allows you to specify a custom template used to render its cells.

To learn more, see Styles and Templates Overview and Custom Edit Template.

NOTE

The Name property of a control used to edit cell values, must be set to "PART_Editor".

See Also