Xceed Grid for WinForms v4.3 Documentation
DragEnter Event


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : DragEnter Event
Raised when an object is dragged into the grid element's bounds.
Syntax
'Declaration
 
<DescriptionAttribute("Raised when an object is dragged into the grid element's bounds.")>
<CategoryAttribute("Drag Drop")>
Public Event DragEnter As DragEventHandler
'Usage
 
Dim instance As VisualGridElement
Dim handler As DragEventHandler
 
AddHandler instance.DragEnter, handler
[Description("Raised when an object is dragged into the grid element's bounds.")]
[Category("Drag Drop")]
public event DragEventHandler DragEnter
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
 
 
 
 
 
 
Remarks

In order for the DragEnter event to be raised, AllowDropand the grid's System.Windows.Forms.Control.AllowDrop property must both be set to true.

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