Skip to main content
.NET Framework 4.5.2+

DefaultListViewOptionsAttribute(Boolean, NewItemRowPosition) Constructor

Initializes a new instance of the DefaultListViewOptionsAttribute class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll

NuGet Package: DevExpress.ExpressApp


public DefaultListViewOptionsAttribute(
    bool allowEdit,
    NewItemRowPosition newItemRowPosition


Name Type Description
allowEdit Boolean

A Boolean value which specifies a List View’s View.AllowEdit state. This parameter value is assigned to the DefaultListViewOptionsAttribute.AllowEdit property.

newItemRowPosition NewItemRowPosition

A NewItemRowPosition enumeration value which specifies the position of the new item row in a List View’s List Editor. This parameter value is assigned to the DefaultListViewOptionsAttribute.NewItemRowPosition property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DefaultListViewOptionsAttribute(Boolean, NewItemRowPosition) constructor.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also