Skip to main content

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

Changes the type of the specified connectors.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public void ChangeConnectorsType(
    ConnectorType type,
    IEnumerable<DiagramConnector> connectors
)

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