Skip to main content
Tag

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public Style NewItemRowCellStyle { get; set; }

#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.

See Also