Back to Devexpress

TreeListView.NewItemRowPosition Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-ba2a0705.md

latest2.5 KB
Original Source

TreeListView.NewItemRowPosition Property

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDefaultDescription
NewItemRowPositionNone

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

|

Available values:

NameDescription
None

The new item row is not shown.

| | Top |

The new item row is displayed at the top of the view.

| | Bottom |

The new item row is displayed at the bottom of the view.

|

Remarks

Tip

Topic : Add and Remove Rows

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.

Note

The TreeListView supports the New Item Row from v19.1.

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

NewItemRowPosition = Top

NewItemRowPosition = Bottom

Run Demo: New Item Row

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace