Back to Devexpress

ColumnBase.NewItemRowCellStyle Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-29d43e42.md

latest2.7 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Style

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

|

Remarks

Tip

Topic : Add and Remove Rows

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.

See Also

Optimized Mode Styles and Templates

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace