Skip to main content
A newer version of this page is available. .

DefaultListViewOptionsAttribute(Boolean, NewItemRowPosition) Constructor

Initializes a new instance of the DefaultListViewOptionsAttribute class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public DefaultListViewOptionsAttribute(
    bool allowEdit,
    NewItemRowPosition newItemRowPosition
)

Parameters

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 snippet (auto-collected from DevExpress Examples) contains a reference to the DefaultListViewOptionsAttribute(Boolean, NewItemRowPosition) constructor.

Note

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