Back to Devexpress

IModelCommonMemberViewItem.AllowEdit Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcommonmemberviewitem-ff780d35.md

latest2.3 KB
Original Source

IModelCommonMemberViewItem.AllowEdit Property

Specifies whether or not the current Property Editor should be read-only.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
bool AllowEdit { get; set; }
vb
Property AllowEdit As Boolean

Property Value

TypeDescription
Boolean

true , if the current editor should not be read-only; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowEdit property.

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.

xaf-win-enable-inplace-editing-in-tree-list-view/CS/EFCore/TreeListInplaceEF/TreeListInplaceEF.Win/Controllers/TreeListInplaceEditViewController.cs#L59

csharp
if (modelColumn != null)
        columnWrapper.Column.OptionsColumn.AllowEdit = modelColumn.AllowEdit;
}

See Also

AllowEdit

IModelCommonMemberViewItem Interface

IModelCommonMemberViewItem Members

DevExpress.ExpressApp.Model Namespace