Skip to main content

DiagramDefaultItemProperties.ConnectorLineEnd Property

Specifies the default tip of a connector’s end point.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(ConnectorLineEnding.Arrow)]
public ConnectorLineEnding ConnectorLineEnd { get; set; }

Property Value

Type Default Description
ConnectorLineEnding Arrow

The type of the tip.

Available values:

Name Description
None

A connector ends without any special element.
Diagram - Connector Ends without Any Special Element

Arrow

A connector ends with an arrow.
Diagram - Connector Ends with an Arrow

OutlinedTriangle

A connector ends with an outlined triangle.
Diagram - Connector Ends with an Outlined Triangle

FilledTriangle

A connector ends with a filled triangle.
Diagram - Connector Ends with a Filled Triangle

Remarks

The ConnectorLineEnd property specifies a tip that is displayed at a connector’s end point if the ToLineEnd 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