Skip to main content

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

Initializes a new instance of the DiagramQueryConnectionPointsEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v23.2.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

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

Parameters

Name Type Description
diagram DevExpress.Diagram.Core.IDiagramControl

The diagram control raised the event.

connector DiagramConnector

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

connectorPointType ConnectorPointType

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

hoveredItem DiagramItem

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

itemConnectionPointStates ReadOnlyCollection<ConnectionPoint>

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

itemConnectionBorderState ConnectionElementState

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

See Also