DiagramEditingSettings.AllowMoveShape Property
Specifies whether a user can move a shape.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AllowMoveShape |
---|---|---|
ASP.NET Web Forms Controls | ASPxDiagram |
|
ASP.NET MVC Extensions | DiagramSettings |
|
Remarks
Set the AllowMoveShape property to false
to prohibit the operation.
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
<SettingsEditing AllowMoveShape = "False" />
</dx:ASPxDiagram>
Note that in this case the RequestEditOperation event does not fire for the MoveShape operation. For more information on edit operation restrictions, refer to the following help topic: Restrict Edit Operations.
See Also