menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HandleMoveTool - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HandleMoveTool

    Inherits from Tool class. Used for moving node handles: Control point, EndPoint etc.

    Inheritance
    System.Object
    Tool
    HandleMoveTool
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Tool.Abort()
    Tool.ActionCursor
    Tool.ActivateTool()
    Tool.AppendParentTransformations(PointF, Node)
    Tool.ApplyDecorator(Decorator, Decorator)
    Tool.CanAddNode(Rectangle)
    Tool.CanInsert(Node)
    Tool.CanRender
    Tool.CheckBoundaryConstraints(Node, Matrix)
    Tool.CheckConnectionCenterPort(PointF)
    Tool.CheckConnectionPossibility(PointF)
    Tool.Controller
    Tool.CurrentCursor
    Tool.CurrentPoint
    Tool.CurrentToolCursor
    Tool.DeactivateTool()
    Tool.DrawFrameAroundPort(Graphics, ConnectionPoint)
    Tool.DrawRenderHelper(Node, Graphics)
    Tool.DrawRenderHelper(Node, Graphics, Rectangle)
    Tool.GetCurrentPoint(Boolean)
    Tool.GetEndPointLocation(ConnectionPoint, PointF)
    Tool.GetFrameRectangle(Boolean)
    Tool.GetFullRotationAngle(Node)
    Tool.GetInsideNodeAt(PointF)
    Tool.GetLocalPoint(Node, PointF)
    Tool.GetNodeUnderEndPoint(PointF)
    Tool.GetOriginOffset()
    Tool.GetPointOffset(PointF, Node)
    Tool.GetPortBounds(ConnectionPoint, Single)
    Tool.GetSelectionList()
    Tool.GetSnapCurrentPoint()
    Tool.GetSnapStartPoint()
    Tool.GetStartPoint(Boolean)
    Tool.HighlightCenterPortContainer(Graphics, ConnectionPoint)
    Tool.InAction
    Tool.m_ConnectorSourceEventArgs
    Tool.m_ConnectorTargetEventArgs
    Tool.m_ptStartOrigin
    Tool.m_rulerDisplayRect
    Tool.m_toolPreceding
    Tool.MakeControlNodeSnapshot(ControlNode)
    Tool.Name
    Tool.OnConnectorChanging(EndPointChangingEventArgs)
    Tool.OutlineConnectionPoint(Graphics, ConnectionPoint)
    Tool.PrecedingTool
    Tool.ProcessClick()
    Tool.ProcessDoubleClick(MouseEventArgs)
    Tool.ProcessKeyDown(KeyEventArgs)
    Tool.ProcessKeyPress(KeyPressEventArgs)
    Tool.ProcessKeyUp(KeyEventArgs)
    Tool.QuiteBoundarySet(Boolean)
    Tool.QuiteBridgingSet(Boolean)
    Tool.RulerHeight
    Tool.SingleActionTool
    Tool.SmartSnap(PointF, SizeF)
    Tool.SnapToPort(PointF, SizeF)
    Tool.SnapToPort(PointF, SizeF, Node)
    Tool.StartPoint
    Tool.ToolCursor
    Tool.ToolWorkRect
    Tool.UpdateConnnectorChangeEvent(IEndPointContainer, ConnectionPoint, ConnectionPoint)
    Tool.UpdateCursor(Boolean)
    Tool.UpdatePortRefreshRect(ConnectionPoint, Rectangle)
    Tool.WorkRect
    Tool.WorkRectPrev
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public class HandleMoveTool : Tool, IDisposable

    Constructors

    HandleMoveTool(DiagramController, Tool, PathNode, IHandle)

    Initializes a new instance of the HandleMoveTool class.

    Declaration
    public HandleMoveTool(DiagramController controller, Tool toolPrevious, PathNode nodeHandleOwner, IHandle handleMoving)
    Parameters
    Type Name Description
    DiagramController controller

    The controller.

    Tool toolPrevious

    The tool previous.

    PathNode nodeHandleOwner

    The node handle owner.

    IHandle handleMoving

    The handle moving.

    Properties

    LastMousePosition

    Gets or sets the last mouse position.

    Declaration
    protected PointF LastMousePosition { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    The last mouse position.

    MovingHandle

    Gets or sets the moving handle.

    Declaration
    protected IHandle MovingHandle { get; set; }
    Property Value
    Type Description
    IHandle

    The moving handle.

    RenderHelper

    Gets the rendering helper node.

    Declaration
    public PathNode RenderHelper { get; }
    Property Value
    Type Description
    PathNode

    The rendering helper.

    Remarks

    Node clone of current node moving for tracking.

    Methods

    CheckConnectionPossibility(PointF, out Boolean)

    Checks for connection possibility.

    Declaration
    protected ConnectionPoint CheckConnectionPossibility(PointF ptTest, out bool canConnectWithPort)
    Parameters
    Type Name Description
    System.Drawing.PointF ptTest

    The point.

    System.Boolean canConnectWithPort

    true, if the port can accept connection

    Returns
    Type Description
    ConnectionPoint

    The connection point

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    Tool.Dispose()

    Draw(Graphics)

    Draws the specified graphics.

    Declaration
    public override void Draw(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on.

    Overrides
    Tool.Draw(Graphics)

    OnOriginChanged(ViewOriginEventArgs)

    Raise the origin changed event.

    Declaration
    protected override void OnOriginChanged(ViewOriginEventArgs evtArgs)
    Parameters
    Type Name Description
    ViewOriginEventArgs evtArgs

    The ViewOriginEventArgs instance containing the event data.

    Overrides
    Tool.OnOriginChanged(ViewOriginEventArgs)

    ProcessMouseDown(MouseEventArgs)

    Processes the mouse down.

    Declaration
    public override Tool ProcessMouseDown(MouseEventArgs evtArgs)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs evtArgs

    The System.Windows.Forms.MouseEventArgs instance containing the event data.

    Returns
    Type Description
    Tool

    The move tool.

    Overrides
    Tool.ProcessMouseDown(MouseEventArgs)

    ProcessMouseMove(MouseEventArgs)

    Processes the mouse move.

    Declaration
    public override Tool ProcessMouseMove(MouseEventArgs evtArgs)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs evtArgs

    The System.Windows.Forms.MouseEventArgs instance containing the event data.

    Returns
    Type Description
    Tool

    The move tool.

    Overrides
    Tool.ProcessMouseMove(MouseEventArgs)

    ProcessMouseUp(MouseEventArgs)

    Processes the mouse up.

    Declaration
    public override Tool ProcessMouseUp(MouseEventArgs evtArgs)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs evtArgs

    The System.Windows.Forms.MouseEventArgs instance containing the event data.

    Returns
    Type Description
    Tool

    The move tool.

    Overrides
    Tool.ProcessMouseUp(MouseEventArgs)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved