menu

WinForms

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

    Show / Hide Table of Contents

    Class DragWindow

    Inheritance
    System.Object
    DragWindow
    GridDragColumnHeaderWindow
    GridGroupDragWindow
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class DragWindow : Form

    Constructors

    DragWindow()

    Declaration
    public DragWindow()

    Properties

    CreateParams

    Declaration
    protected override CreateParams CreateParams { get; }
    Property Value
    Type
    System.Windows.Forms.CreateParams

    DragBitmap

    Declaration
    public Bitmap DragBitmap { get; set; }
    Property Value
    Type
    System.Drawing.Bitmap

    DragParent

    Gets / sets the parent control supporting drag operation.

    Declaration
    public IDragDispatcher DragParent { get; set; }
    Property Value
    Type
    IDragDispatcher

    WindowCursor

    Declaration
    public Cursor WindowCursor { get; set; }
    Property Value
    Type
    System.Windows.Forms.Cursor

    Methods

    DoDragDrop(Object, DragDropEffects)

    Declaration
    public DragDropEffects DoDragDrop(object data, DragDropEffects allowedEffects)
    Parameters
    Type Name Description
    System.Object data
    System.Windows.Forms.DragDropEffects allowedEffects
    Returns
    Type
    System.Windows.Forms.DragDropEffects

    MoveTo(Point)

    Declaration
    public bool MoveTo(Point p)
    Parameters
    Type Name Description
    System.Drawing.Point p
    Returns
    Type
    System.Boolean

    OnDragDrop(DragEventArgs)

    Declaration
    protected override void OnDragDrop(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnDragEnter(DragEventArgs)

    Declaration
    protected override void OnDragEnter(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnDragLeave(EventArgs)

    Declaration
    protected override void OnDragLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnDragOver(DragEventArgs)

    Declaration
    protected override void OnDragOver(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnGiveFeedback(GiveFeedbackEventArgs)

    Declaration
    protected override void OnGiveFeedback(GiveFeedbackEventArgs gfbevent)
    Parameters
    Type Name Description
    System.Windows.Forms.GiveFeedbackEventArgs gfbevent

    OnPaintBackground(PaintEventArgs)

    Declaration
    protected override void OnPaintBackground(PaintEventArgs pevent)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs pevent

    OnQueryContinueDrag(QueryContinueDragEventArgs)

    Declaration
    protected override void OnQueryContinueDrag(QueryContinueDragEventArgs qcdevent)
    Parameters
    Type Name Description
    System.Windows.Forms.QueryContinueDragEventArgs qcdevent

    OnSetCursor(ref Message)

    Declaration
    protected virtual void OnSetCursor(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    SetOrigin(Point)

    Declaration
    public bool SetOrigin(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt
    Returns
    Type
    System.Boolean

    ShowWindowTopMost()

    Declaration
    public void ShowWindowTopMost()

    StartDrag(Point)

    Declaration
    public bool StartDrag(Point p)
    Parameters
    Type Name Description
    System.Drawing.Point p
    Returns
    Type
    System.Boolean

    StopDrag()

    Declaration
    public bool StopDrag()
    Returns
    Type
    System.Boolean

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message msg)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved