Skip to main content
A newer version of this page is available. .

DiagramQueryItemSnappingEventArgs(DiagramControl, DiagramItem, DiagramItem, Boolean) Constructor

Initializes a new instance of the DiagramQueryItemSnappingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, DevExpress.Wpf.Diagram

Declaration

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

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

item DiagramItem
snapTo DiagramItem
allow Boolean
See Also