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.

DiagramMappings.Node Property

Provides access to node mapping properties.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public DiagramNodeMappingInfo Node { get; }
Public ReadOnly Property Node As DiagramNodeMappingInfo

Property Value

Type Description
DiagramNodeMappingInfo

An object that contains mapping properties.

Available values:

Show 15 items
Name Description
ContainerKey

Specifies the name of a data source field that provides the key of a shape's parent container shape.

Height

Specifies the name of a data source field that provides a node's height.

Width

Specifies the name of a data source field that provides a node's width.

Top

Specifies the name of a data source field that provides the y-coordinate of a node's top border.

Left

Specifies the name of a data source field that provides the x-coordinate of a node's left border.

ImageUrl

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

ZIndex

Specifies the name of a data source field that provides a node's z-index.

TextStyle

Specifies the name of a data source field that provides a node's text style.

Style

Specifies the name of a data source field that provides a node style.

Locked

Specifies the name of a data source field whose values indicate whether a node is locked.

Type

Specifies the name of a data source field that provides the shape type for a node.

Text

Specifies the name of a data source field that provides node texts.

ParentKey

Specifies the name of a data source field that provides a parent node key for a node.

Assign(PropertiesBase)

Copies public properties from the specified object to the current object.

DiagramNodeMappingInfo(IPropertiesOwner)

Initializes a new DiagramNodeMappingInfo class instance with the specified owner.

Remarks

Online Demo

Diagram - Data Binding

Example

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" Units="Px"
    NodeDataSourceID="FlowNodeDemoDataSource" EdgeDataSourceID="FlowEdgeDemoDataSource" >
    <SettingsAutoLayout Type="Layered" Orientation="Vertical" />
    <Mappings>
        <Node Key="ID" Type="Type" Width="Width" Height="Height" Left="Left" Locked="Locked" Style="Style" 
        Text="Text" TextStyle="TextStyle" Top="Top" ZIndex="ZIndex"/>
        <Edge Key="ID" FromKey="FromID" ToKey="ToID" Text="Text" FromLineEnd="StartTip" FromPointIndex="StartPoint" 
        LineType="Type" Locked="Locked" Style="Style" TextStyle="TextStyle" ToLineEnd="EndTip" 
        ToPointIndex= "EndPoint" ZIndex="ZIndex"/>
    </Mappings>
</dx:ASPxDiagram>
See Also