Skip to main content

DiagramQueryConnectionPointsEventArgs(DiagramControl, IDiagramControl, DiagramConnector, ConnectorPointType, DiagramItem, ReadOnlyCollection<ConnectionPoint>, ConnectionElementState) Constructor

Initializes a new instance of the DiagramQueryConnectionPointsEventArgs class.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramQueryConnectionPointsEventArgs(
    DiagramControl source,
    IDiagramControl diagram,
    DiagramConnector connector,
    ConnectorPointType connectorPointType,
    DiagramItem hoveredItem,
    ReadOnlyCollection<ConnectionPoint> itemConnectionPointStates,
    ConnectionElementState itemConnectionBorderState
)

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

diagram DevExpress.Diagram.Core.IDiagramControl

An object that implements the DevExpress.Diagram.Core.IDiagramControl interface.

connector DiagramConnector

A DiagramConnector object representing the connector which point is being moved by the end-user.

connectorPointType ConnectorPointType

A ConnectorPointType enumeration value indicating the type of the connection point that is being moved by the end-user.

hoveredItem DiagramItem

A DiagramItem object representing the item hovered with the connection point that is being moved by the end-user.

itemConnectionPointStates ReadOnlyCollection<ConnectionPoint>

A collection of ConnectionPoint objects that represent connection points of a diagram item.

itemConnectionBorderState ConnectionElementState

A ConnectionElementState enumeration value that specifies whether to enable connection to an item and show visual indication.

See Also