Interface for a handle that can be displayed in a CanvasControl as a UI element for the user to modify the contents of the control.

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


public interface IHandle : IDragHandler
Visual Basic
Public Interface IHandle _ Inherits IDragHandler


Handles can be dragged with the mouse and will thereby modify their context. Typically client code will use the Location to render a visual handle that can be dragged using the mouse. A drag will trigger the invocation of InitializeDrag(IInputModeContext), zero or more HandleMove(IInputModeContext, PointD, PointD) calls, and will be finalized by either DragFinished(IInputModeContext, PointD, PointD) or CancelDrag(IInputModeContext, PointD).

Related Demo Applications

The following programming samples are available: Also see the yFiles for Silverlight tutorials for step by step introductions.

See Also