Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramQueryItemSnappingEventArgs(DiagramItem, DiagramItem, Boolean) Constructor

In This Article

Initializes a new instance of the DiagramQueryItemSnappingEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.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