ASPxDiagram.Mappings Property
Provides access to the control’s mapping properties.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
DiagramMappings | An object that contains mapping properties. |
Remarks
When the ASPxDiagram control is bound to a data source, use the Mappings property to specify data source fields that provide information on diagram items.
Online Demo
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