Skip to main content

DiagramCustomShape.AllowEditImage Property

Specifies whether users can change the shape’s image.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AllowEditImage { get; set; }

Property Value

Type Default Description
Boolean false

true, to allow users to change the image; otherwise, false.

Remarks

The shapes of CardWithImageOnLeft, CardWithImageOnRight, and CardWithImageOnTop types display an image (DefaultImageUrl) inside the shape.

Diagram

Set the AllowEditImage property to true to add the Insert/Change/Delete Shape Image commands to the context menu of the card shape.

Diagram - Context Menu

See Also