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.

DiagramNodeMappingInfo.ImageUrl Property

Specifies the name of a data source field that provides the URL of a shape's image.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue("")]
public string ImageUrl { get; set; }
<DefaultValue("")>
Public Property ImageUrl As String

Property Value

Type Default Description
String

String.Empty

The field name.

Remarks

TIP

Use the ImageUrl property to customize the image of a node after it is bound to a data source (in the NodeDataBound event).

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="700px"
    NodeDataSourceID="OrgItemDemoDataSource" EdgeDataSourceID="OrgLinkDemoDataSource">
    <Mappings>
        <Node Key="ID" Text="Text" Type="Type" ImageUrl="Picture" />
        <Edge Key="ID" FromKey="FromID" ToKey="ToID" />
    </Mappings>
</dx:ASPxDiagram>

Run Demo: OrgChart Shapes

See Also