Back to Devexpress

DiagramMappings Class

aspnet-devexpress-dot-web-dot-aspxdiagram-0d86be27.md

latest2.4 KB
Original Source

DiagramMappings Class

Contains the ASPxDiagram’s mapping properties.

Namespace : DevExpress.Web.ASPxDiagram

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class DiagramMappings :
    PropertiesBase
vb
Public Class DiagramMappings
    Inherits PropertiesBase

The following members return DiagramMappings objects:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxDiagram.Mappings
ASP.NET MVC ExtensionsDiagramSettings.Mappings

Remarks

Online Demo

Diagram - Data Binding

Example

aspx
<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>

Implements

IStateManager

Inheritance

Object StateManager PropertiesBase DiagramMappings

See Also

DiagramMappings Members

Bind Diagram to Data

DevExpress.Web.ASPxDiagram Namespace