Class DragHelper
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()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class DragHelper : IDisposable
Constructors
DragHelper()
Declaration
public DragHelper()
Properties
DragWindow
Declaration
public DragWindow DragWindow { get; }
Property Value
Type |
---|
DragWindow |
IsDragging
Declaration
public bool IsDragging { get; }
Property Value
Type |
---|
System.Boolean |
LastDragDropEffect
Declaration
public DragDropEffects LastDragDropEffect { get; }
Property Value
Type |
---|
System.Windows.Forms.DragDropEffects |
Methods
CancelDrag()
Declaration
public void CancelDrag()
CheckDragCursor(DragDropEffects)
Declaration
protected void CheckDragCursor(DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragDropEffects | e |
Dispose()
Declaration
public void Dispose()
DoDrag(Point, DragDropEffects)
Declaration
public void DoDrag(Point p, DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | p | |
System.Windows.Forms.DragDropEffects | e |
EndDrag()
Declaration
public void EndDrag()
StartDrag(Bitmap, Point, DragDropEffects)
Declaration
public void StartDrag(Bitmap bmp, Point startPoint, DragDropEffects effects)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bmp | |
System.Drawing.Point | startPoint | |
System.Windows.Forms.DragDropEffects | effects |
StopDrag()
Declaration
protected void StopDrag()
Implements
System.IDisposable