.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PermissionPolicyRoleBase.CanEditModel Property

Specifies whether users associated with the current role can use the Model Editor.

Namespace: DevExpress.Persistent.BaseImpl.EF.PermissionPolicy

Assemblies: DevExpress.Persistent.BaseImpl.EF.v21.1.dll, DevExpress.Persistent.BaseImpl.EFCore.v21.1.dll

Declaration

[Appearance("EFCanEditModelIsAdministrative", Enabled = false, Criteria = "IsAdministrative", Context = "DetailView")]
public bool CanEditModel { get; set; }

Property Value

Type Description
Boolean

true, if users associated with the current role can use the Model Editor; otherwise - false.

Remarks

The EditModel action is available in the Tools ribbon page of the Windows Forms application’s root window when this property is set to true in one of the current user’s roles.

ToolsEditModel

ModelEditor_Runtime

Implements

See Also