Class GroupDragHelper
Defines a class that implements the helper methods of the drag window. Used internally.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GroupDragHelper : IDisposable
Constructors
GroupDragHelper()
Initializes a new instance of the GroupDragHelper class. Used internally.
Declaration
public GroupDragHelper()
Properties
DragWindow
Gets the drag window. Used internally.
Declaration
public GridGroupDragWindow DragWindow { get; }
Property Value
Type |
---|
GridGroupDragWindow |
IsDragging
Gets a value indicating whether dragging is still in completion or not. Used internally.
Declaration
public bool IsDragging { get; }
Property Value
Type |
---|
System.Boolean |
Remarks
Returns boolean value to indicate the header is in dragging or not.
LastDragDropEffect
Gets the last drop effect of the drag window. Used internally.
Declaration
public DragDropEffects LastDragDropEffect { get; }
Property Value
Type |
---|
System.Windows.Forms.DragDropEffects |
Remarks
Specifies the possible effects of drag-drop operation.
Methods
CancelDrag()
Cancels the dragging process.
Declaration
public void CancelDrag()
CheckDragCursor(DragDropEffects)
Ensures the drag cursor. Used internally.
Declaration
protected void CheckDragCursor(DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragDropEffects | e | The System.Windows.Forms.DragDropEffects enumerator hold the dropping effect. |
Dispose()
Disposes the current object.
Declaration
public void Dispose()
DoDrag(Point, DragDropEffects)
Drags the group to the specified point.
Declaration
public void DoDrag(Point p, DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | p | The specified point. |
System.Windows.Forms.DragDropEffects | e | Specifies the effects of a Drag-Drop operation. |
EndDrag()
Stops the dragging process.
Declaration
public void EndDrag()
StartDrag(Bitmap, Point, DragDropEffects)
Starts the dragging process. Used internally.
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 |
Remarks
Starts to drag the drag window and displays it in the destination location..
StopDrag()
Stops the drag operation. Used internally.
Declaration
protected void StopDrag()