FlexGrid for WinForms
StartDrag Event



Fires before the grid starts an automatic OLE drag operation.
Syntax
'Declaration
 
<C1DescriptionAttribute("Fires before the grid starts an automatic OLE drag operation.")>
Public Event StartDrag As DragEventHandler
'Usage
 
Dim instance As C1FlexGridBase
Dim handler As DragEventHandler
 
AddHandler instance.StartDrag, handler
[C1Description("Fires before the grid starts an automatic OLE drag operation.")]
public event DragEventHandler StartDrag
[C1Description("Fires before the grid starts an automatic OLE drag operation.")]
public:
event DragEventHandler^ StartDrag
Event Data

The event handler receives an argument of type DragEventArgs containing data related to this event. The following DragEventArgs properties provide information specific to this event.

PropertyDescription
AllowedEffectGets which drag-and-drop operations are allowed by the originator (or source) of the drag event.  
DataGets the System.Windows.Forms.IDataObject that contains the data associated with this event.  
EffectGets or sets the target drop effect in a drag-and-drop operation.  
KeyStateGets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.  
XGets the x-coordinate of the mouse pointer, in screen coordinates.  
YGets the y-coordinate of the mouse pointer, in screen coordinates.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback