DiagramControl.ChangeConnectorsType(ConnectorType, IEnumerable<DiagramConnector>) Method

Changes the type of the specified connectors.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll

Declaration

public void ChangeConnectorsType(
    ConnectorType type,
    IEnumerable<DiagramConnector> connectors
)
Public Sub ChangeConnectorsType(
    type As ConnectorType,
    connectors As IEnumerable(Of DiagramConnector)
)

Parameters

Name Type Description
type ConnectorType

A ConnectorType class member that specifies the type of the connectors.

connectors IEnumerable<DiagramConnector>

A collection of diagram connectors.

Remarks

Set the ChangeConnectorsType property to either of the following values.

ConnectorType member Description
Straight Represents a straight connector.
RightAngle Represents a right angle connector.
Curved Represents a curved connector.
RegisteredTypes Stores a collection of custom connectors.
Create() Creates a new connector type.
See Also