Skip to main content

DiagramConnector.Type Property

Gets or sets the connector’s type. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v22.2.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

[CustomAction(typeof(ActionAffectsConnectorsRouting))]
public ConnectorType Type { get; set; }

Property Value

Type Description
ConnectorType

The connector’s type.

Remarks

The following connector types are available:

  • RightAngle - A right angle connector.
  • Straight - A straight line.
  • Curved - A curved connector.

Diagram - ConnectorTypes.png

The DiagramConnector.Points property specifies intermediate turn points for a connector.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also