WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IDraggable

    Show / Hide Table of Contents

    Interface IDraggable

    All components that expect to be dragged will need to implement the IDraggable interface. This interface is used by the drag provider to provide drag services to the component.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IDraggable

    Properties

    DragDockInfo

    Declaration
    DockInfo DragDockInfo { get; set; }
    Property Value
    Type Description
    DockInfo

    DragRectangle

    Declaration
    Rectangle DragRectangle { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Methods

    AbortDrag()

    Declaration
    void AbortDrag()

    AllowedDragAxis(ref Point, Point)

    Declaration
    DragAxis AllowedDragAxis(ref Point ptdrag, Point ptdelta)
    Parameters
    Type Name Description
    System.Drawing.Point ptdrag
    System.Drawing.Point ptdelta
    Returns
    Type Description
    DragAxis

    DrawHollow()

    Declaration
    bool DrawHollow()
    Returns
    Type Description
    System.Boolean

    InitiateDrag(MouseAction, Point)

    Declaration
    bool InitiateDrag(MouseAction action, Point pt)
    Parameters
    Type Name Description
    MouseAction action
    System.Drawing.Point pt
    Returns
    Type Description
    System.Boolean

    IsSuitableDockTarget(DockControllerBase)

    Declaration
    bool IsSuitableDockTarget(DockControllerBase dc)
    Parameters
    Type Name Description
    DockControllerBase dc
    Returns
    Type Description
    System.Boolean

    QueryDragProceedWithDock()

    Declaration
    bool QueryDragProceedWithDock()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved