Skip to main content
A newer version of this page is available. .

DiagramEdgeMappingInfo.ToLineEnd Property

Specifies the name of a data source field that provides an edge’s line end tip.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue("")]
public string ToLineEnd { get; set; }

Property Value

Type Default Description
String

String.Empty

The field name.

Remarks

The field assigned to the ToLineEnd property should contain values of the ConnectorLineEnding type or the corresponding integers.

Tip

  • Use the ToLineEnd property to customize the line end tip of an edge after it is bound to a data source (in the EdgeDataBound event).
  • Use the ConnectorLineEnd property to specify the default type of the end tip.

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