Skip to main content

DiagramCustomShape.AllowEditImage Property

Specifies whether users can change the shape’s image.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web


public bool AllowEditImage { get; set; }

Property Value

Type Default Description
Boolean false

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


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


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