Skip to main content

DataViewBase.CellStyle Property

Gets or sets the style applied to data cells displayed within a View. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public Style CellStyle { get; set; }

#Property Value

Type Description
Style

A Style object that is the style applied to data cells.

#Remarks

The CellStyle property specifies the style that groups together properties, resources, and event handlers and shares them between instances of the CellContentPresenter type.

Target Type: CellContentPresenter

To specify the styles applied to the column's data cell displayed within the New Item Row and Auto Filter Row, use the ColumnBase.NewItemRowCellStyle and ColumnBase.AutoFilterRowCellStyle properties, respectively.

To learn more, see Styles and Templates Overview.

See Also