A class that can be used by IInputMode implementations and similar code to manage interactive snapping of elements to other elements during a drag-like operation.

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
public class SnapContext
Visual Basic
Public Class SnapContext

Remarks

This class should be used by the drag implementation as follows:

Inheritance Hierarchy

System..::..Object
  yWorks.Canvas.Input..::..SnapContext
    yWorks.yFiles.UI.Input..::..GraphSnapContext

See Also