DiagramQueryConnectionPointsEventArgs.ItemConnectionBorderState Property

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public ConnectionElementState ItemConnectionBorderState { get; set; }
Public Property ItemConnectionBorderState As ConnectionElementState

Property Value

Type Description
ConnectionElementState

A ConnectionElementState enumeration value.

Remarks

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