Back to Devexpress

DiagramEditingSettings.AllowResizeShape Property

aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagrameditingsettings-eea39d49.md

latest2.6 KB
Original Source

DiagramEditingSettings.AllowResizeShape Property

Specifies whether a user can resize a shape.

Namespace : DevExpress.Web.ASPxDiagram

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

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to AllowResizeShape
ASP.NET MVC ExtensionsDiagramSettings

.SettingsEditing .AllowResizeShape

| | ASP.NET Web Forms Controls | ASPxDiagram |

.SettingsEditing .AllowResizeShape

|

Remarks

Set the AllowResizeShape property to false to prohibit the operation.

aspx
<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

Restrict Edit Operations

RequestEditOperation Event

ReadOnly

DiagramEditingSettings Class

DiagramEditingSettings Members

DevExpress.Web.ASPxDiagram Namespace