Back to Devexpress

DiagramConnector.Type Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramconnector-a31a321d.md

latest1.8 KB
Original Source

DiagramConnector.Type Property

Gets or sets the connector’s type.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[CustomAction(typeof(ActionAffectsConnectorsRouting))]
[DefaultValue(typeof(ConnectorType), "RightAngle")]
[DiagramCategory(DiagramCategory.Layout)]
public virtual ConnectorType Type { get; set; }
vb
<DefaultValue(GetType(ConnectorType), "RightAngle")>
<DiagramCategory(DiagramCategory.Layout)>
<CustomAction(GetType(ActionAffectsConnectorsRouting))>
Public Overridable Property Type As ConnectorType

Property Value

TypeDefaultDescription
ConnectorType"RightAngle"

The connector’s type.

|

Remarks

The following connector types are available:

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

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

See Also

Points

DiagramConnector Class

DiagramConnector Members

DevExpress.XtraDiagram Namespace