Class GridDragColumnHeaderHelper
For internal use. Provides all information about the DragColumnHeader.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridDragColumnHeaderHelper : IDisposable
Constructors
GridDragColumnHeaderHelper()
Used internally. Initializes a new instance of the GridDragColumnHeaderHelper class.
Declaration
public GridDragColumnHeaderHelper()
Properties
DragWindow
Gets the GridDragColumnHeaderWindow.
Declaration
public GridDragColumnHeaderWindow DragWindow { get; }
Property Value
Type |
---|
GridDragColumnHeaderWindow |
IsDragging
Gets GridDragColumnHeaderHelper IsDragging property.
Declaration
public bool IsDragging { get; }
Property Value
Type |
---|
System.Boolean |
LastDragDropEffect
Gets the LastDragDropEffect.
Declaration
public DragDropEffects LastDragDropEffect { get; }
Property Value
Type |
---|
System.Windows.Forms.DragDropEffects |
Methods
CancelDrag()
Used internally. CancelDrgging when isDragging is false.
Declaration
public void CancelDrag()
CheckDragCursor(DragDropEffects)
Checks the drag cursor.
Declaration
protected void CheckDragCursor(DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragDropEffects | e | The System.Windows.Forms.DragDropEffectsthat contains event data. |
Dispose()
Used internally. Removes or release all resources used by the dragWindow.
Declaration
public void Dispose()
DoDrag(Point, DragDropEffects)
This occurred while doing dragging process.
Declaration
public void DoDrag(Point p, DragDropEffects e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | p | The point |
System.Windows.Forms.DragDropEffects | e | The System.Windows.Forms.DragDropEffectsthat contains event data. |
EndDrag()
Used internally. EndDrag when isDragging is false.
Declaration
public void EndDrag()
StartDrag(Bitmap, Point, DragDropEffects)
Stats the dragging by invalidate the previous drag window.
Declaration
public void StartDrag(Bitmap bmp, Point startPoint, DragDropEffects effects)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bmp | The bitmap image |
System.Drawing.Point | startPoint | The starting Drag point |
System.Windows.Forms.DragDropEffects | effects | The effects of drag drop. |
StopDrag()
Stops the dragging process.
Declaration
protected void StopDrag()