Skip to main content

DiagramQueryConnectionPointsEventArgs.ItemConnectionBorderState Property

Specifies whether to enable connection to an item and show a visual indication.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram


public ConnectionElementState ItemConnectionBorderState { get; set; }

Property Value

Type Description

A ConnectionElementState enumeration value.

Available values:

Name Description

Connection is enabled.


Connection is disabled with no visual indication.


Connection is disabled. Visual indication (red border around an item/connector) is shown.


The DiagramQueryConnectionPointsEventArgs.HoveredItem property returns the item hovered with the connection point that is being moved by the end-user.

Set the ItemConnectionBorderState property to either ConnectionElementState.Hidden or ConnectionElementState.Disabled to prevent the end-user from connecting to an item.

Use the DiagramQueryConnectionPointsEventArgs.ItemConnectionPointStates property to specify whether to enable connection to individual connection points and show a visual indication.

See Also