Tag
A newer version of this page is available. Switch to the current version.

ColumnBase.NewItemRowCellStyle Property

Gets or sets the style applied to the column's data cell displayed within the New Item Row. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public Style NewItemRowCellStyle { get; set; }
Public Property NewItemRowCellStyle As Style

Property Value

Type Description
Style

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

Remarks

To specify a common style for all data cells displayed within the New Item Row, use the TableView.NewItemRowCellStyle / TreeListView.NewItemRowCellStyle property. The actual style applied to a data cell displayed within the New Item Row is returned by the ColumnBase.ActualNewItemRowCellStyle property.

Target type:

  • Optimized mode: DevExpress.Xpf.Grid.LightweightCellEditor
  • Unoptimized mode: DevExpress.Xpf.Grid.NewItemRowCellContentPresenter
NOTE

You can apply the NewItemRowCellStyle style only to the data cells of the New Item Row displayed at the top of the View, i.e., the TableView.NewItemRowPosition / TreeListView.NewItemRowPosition property is set to NewItemRowPosition.Top.

To learn more, see Styles and Templates Overview.

See Also