Skip to main content
Tag

ColumnBase.CellTemplate Property

Gets or sets the template that defines the presentation of column 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 column cells.

#Remarks

Use the CellTemplate property to define a template that specifies the visualization of column cells. The binding source for the CellTemplate template is represented by the GridCellData class.

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

NOTE

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

See Also