.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

IModelClass.DefaultListViewAllowEdit Property

Specifies whether in-place editing is allowed in List Views whose ModelClass property is set to the corresponding IModelClass instance. This option does not affect lookup List Views.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

[DefaultValue(false)]
bool DefaultListViewAllowEdit { get; set; }

Property Value

Type Description
Boolean

true to allow in-place editing; false to prohibit in-place editing.

Remarks

To set this property, open the Model Editor and navigate to the Application | BOModel | <Class> node:

The DefaultListViewAllowEdit property in the Model Editor

You can also use the DefaultListViewOptions attribute to allow in-place editing in code (see Data Annotations in Data Model).

See Also