All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramEditingSettings.AllowResizeShape Property

Specifies whether a user can resize a shape.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

[DefaultValue(true)]
public bool AllowResizeShape { get; set; }
<DefaultValue(True)>
Public Property AllowResizeShape As Boolean

Property Value

Type Default Description
Boolean

true

true, to allow a user to perform the action; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowResizeShape
ASPxDiagram
.SettingsEditing.AllowResizeShape
DiagramSettings
.SettingsEditing.AllowResizeShape
MVCxDiagram
.SettingsEditing.AllowResizeShape

Remarks

Set the AllowResizeShape property to false to prohibit the operation.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsEditing AllowResizeShape = "False" />
</dx:ASPxDiagram>

Note that in this case the RequestEditOperation event does not fire for the ResizeShape operation. For more information on edit operation restrictions, refer to the following help topic: Restrict Edit Operations.

See Also