Skip to main content
A newer version of this page is available. .
All docs
V20.2

DiagramEditingSettings.AllowResizeShape Property

Specifies whether a user can resize a shape.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AllowResizeShape { get; set; }

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:

Library Object Type Path to AllowResizeShape
ASP.NET Controls and MVC Extensions ASPxDiagram
.SettingsEditing .AllowResizeShape
ASP.NET MVC Extensions 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