Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / VisualGridElement Class / DragOver Event


In This Topic
    DragOver Event
    In This Topic
    Raised when an object is dragged over the grid element's bounds.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised when an object is dragged over the grid element's bounds.")>
    <CategoryAttribute("Drag Drop")>
    Public Event DragOver As DragEventHandler
    'Usage
     
    Dim instance As VisualGridElement
    Dim handler As DragEventHandler
     
    AddHandler instance.DragOver, handler
    [Description("Raised when an object is dragged over the grid element's bounds.")]
    [Category("Drag Drop")]
    public event DragEventHandler DragOver
    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 DragOver 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