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
Property Value
Type | Description |
---|---|
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.