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

TableView.NewItemRowPosition Property

Gets or sets the New Item Row's position within a View.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public NewItemRowPosition NewItemRowPosition { get; set; }
Public Property NewItemRowPosition As NewItemRowPosition

Property Value

Type Description
NewItemRowPosition

A NewItemRowPosition enumeration value that specifies the New Item Row's position within a View.

Remarks

The New Item Row is an empty row at the top or the bottom of the View. Users can enter data into this row to create new rows.

To show the New Item Row, set the NewItemRowPosition property to Top or Bottom.

TIP

Demo: New Item Row in TableView

Requires installation of WPF Subscription. Download

NOTE

The Edit Form uses only optimized templates. Currently, the template for the New Item Row shown at the top of the view is not optimized. Thus, do not set the NewItemRowPosition property to NewItemRowPosition.Top if the TableView.EditFormShowMode property is set to EditFormShowMode.Inline or EditFormShowMode.InlineHideRow.

See Also