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
)
Public Sub New(
    masterDetailMode As MasterDetailMode,
    allowEdit As Boolean,
    newItemRowPosition As NewItemRowPosition
)

Parameters

Type Name 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.

Boolean allowEdit

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