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

DefaultListViewOptionsAttribute(MasterDetailMode, Boolean, NewItemRowPosition) Constructor

Initializes a new instance of the DefaultListViewOptionsAttribute class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public DefaultListViewOptionsAttribute(
    MasterDetailMode masterDetailMode,
    bool allowEdit,
    NewItemRowPosition newItemRowPosition
)

Parameters

Name Type Description
masterDetailMode MasterDetailMode

A MasterDetailMode enumeration value which specifies a List View’s master-detail mode. This option is supported in WinForms and ASP.NET applications. This parameter value is assigned to the DefaultListViewOptionsAttribute.MasterDetailMode property.

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.

See Also