Skip to main content

DiagramQueryItemSnappingEventArgs(DiagramItem, DiagramItem, Boolean) Constructor

Initializes a new instance of the DiagramQueryItemSnappingEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramQueryItemSnappingEventArgs(
    DiagramItem item,
    DiagramItem snapTo,
    bool allow
)

Parameters

Name Type Description
item DiagramItem

The item that is being dragged by the user.

snapTo DiagramItem

The item to which the item being dragged by the end-user can be snapped.

allow Boolean

true to snap diagram items; otherwise, false.

See Also