IModelClassNewItemRow.DefaultListViewNewItemRowPosition Property
Indicate whether to display the new item row in the default editable List View.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
| Type | Description |
|---|---|
| NewItemRowPosition | A NewItemRowPosition enumeration value specifying whether to display the new item row in the default editable List View. |
Remarks
In a Windows Forms application, the DefaultListViewNewItemRowPosition property specifies whether to display the NewItemRow in the default editable List View (see DefaultListViewAllowEdit). The NewItemRow allows users to create new objects directly in a ListView.
In an ASP.NET Core Blazor application, the DefaultListViewNewItemRowPosition property specifies whether to display the New button in the command column header of the default editable List View (see DefaultListViewAllowEdit). This button allows users to create new objects directly in a ListView.
The DefaultListViewNewItemRowPosition property default value is None. You can set a value for this attribute in code via the DefaultListViewOptions attribute (see Data Annotations in Data Model).