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.InputAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public interface IHandle : IDragHandler |
| Visual Basic |
|---|
Public Interface IHandle _ Inherits IDragHandler |
Remarks
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).