All docs
V20.2
20.2
20.1
19.2
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.

DiagramCustomShape.AllowEditImage Property

Specifies whether users can change the shape's image.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(false)]
public bool AllowEditImage { get; set; }
<DefaultValue(False)>
Public Property AllowEditImage As Boolean

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