All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
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.

DiagramDefaultItemProperties.ConnectorLineType Property

Specifies the default type of a connector.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(ConnectorLineType.Orthogonal)]
public ConnectorLineType ConnectorLineType { get; set; }
<DefaultValue(ConnectorLineType.Orthogonal)>
Public Property ConnectorLineType As ConnectorLineType

Property Value

Type Default Description
ConnectorLineType

Orthogonal

The line type.

Available values:

Name Description
Straight

A connector links shapes by a straight line.
Straight connector

Orthogonal

A connector links shapes by a right-angle polyline.
Orthogonal connector

Remarks

The ConnectorLineType property specifies a type of a connector if the LineType property does not provide another value.

<dx:ASPxDiagram ID="Diagram" runat="server" 
    NodeDataSourceID="DepartmentDemoDataSource" OnNodeInserted="Diagram_NodeInserted">
    <Mappings>
        <Node Key="ID" Text="DepartmentName" ParentKey="ParentID" />
    </Mappings>
    <DefaultItemProperties 
        ConnectorLineEnd="None" 
        ConnectorLineStart="FilledTriangle" 
        ConnectorLineType="Straight" 
        Style="fill: #C0C0C0; stroke-width: 3" 
        TextStyle="fill: #ff0000;" />
</dx:ASPxDiagram>
See Also