Class DragWindow
Inheritance
System.Object
DragWindow
Assembly: Syncfusion.Shared.Base.dll
public class DragWindow : Form
Constructors
Declaration
Properties
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type |
System.Windows.Forms.CreateParams |
Declaration
public Bitmap DragBitmap { get; set; }
Property Value
Type |
System.Drawing.Bitmap |
Gets / sets the parent control supporting drag operation.
Declaration
public IDragDispatcher DragParent { get; set; }
Property Value
Declaration
public Cursor WindowCursor { get; set; }
Property Value
Type |
System.Windows.Forms.Cursor |
Methods
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 |
Declaration
public bool MoveTo(Point p)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
p |
|
Returns
Declaration
protected override void OnDragDrop(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Declaration
protected override void OnDragEnter(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Declaration
protected override void OnDragLeave(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnDragOver(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Declaration
protected override void OnGiveFeedback(GiveFeedbackEventArgs gfbevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.GiveFeedbackEventArgs |
gfbevent |
|
Declaration
protected override void OnPaintBackground(PaintEventArgs pevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
pevent |
|
Declaration
protected override void OnQueryContinueDrag(QueryContinueDragEventArgs qcdevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.QueryContinueDragEventArgs |
qcdevent |
|
Declaration
protected virtual void OnSetCursor(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|
Declaration
public bool SetOrigin(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Declaration
public void ShowWindowTopMost()
Declaration
public bool StartDrag(Point p)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
p |
|
Returns
Declaration
Returns
Declaration
protected override void WndProc(ref Message msg)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
msg |
|