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 | Diagram |
The item that is being dragged by the user. |
snap |
Diagram |
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