Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PermissionPolicyRoleBase.CanEditModel Property

Specifies whether users associated with the current role can use the Model Editor. A DevExpress.Xpo.Session object, which is a persistent objects cache where the user will be instantiated.

Namespace: DevExpress.Persistent.BaseImpl.PermissionPolicy

Assembly: DevExpress.Persistent.BaseImpl.Xpo.v24.2.dll

#Declaration

[Appearance("XPOCanEditModelIsAdministrative", 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 menu item 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