This is the abstract base class used by the implementers of SnapContext to model the result of the mouse being snapped to a certain coordinate.

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public abstract class SnapResult : IComparable<SnapResult>
Visual Basic
Public MustInherit Class SnapResult _ Implements IComparable(Of SnapResult)

Remarks

It carries a Weight and can be used to obtain a IVisualCreator that will be included in the view if the result is actually snapped after all other results with higher weight have been snapped.

Inheritance Hierarchy

System..::..Object
  yWorks.Canvas.Input..::..SnapResult
    yWorks.yFiles.UI.Input..::..SnapLineSnapResult

See Also