Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NItemsControl Class / ItemDrag Event


In This Topic
    ItemDrag Event (NItemsControl)
    In This Topic
    Occurs when the user dragging a node.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Occurs when the user dragging a node.")>
    Public Event ItemDrag As NLightUIItemDragDropEventHandler
    'Usage
     
    
    Dim instance As NItemsControl
    Dim handler As NLightUIItemDragDropEventHandler
     
    AddHandler instance.ItemDrag, handler
    [System.ComponentModel.Description("Occurs when the user dragging a node.")]
    public event NLightUIItemDragDropEventHandler ItemDrag
    Event Data

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

    PropertyDescription
    Gets/sets the Cursor for the current drag-and-drop action.  
    (Inherited from Nevron.UI.NEventArgs)
    Gets the item that is currently below the mouse position.  
    Gets/sets the effect of the current drag-and-drop action  
    (Inherited from Nevron.UI.NEventArgs)
    Gets the item associated with the event. (Inherited from Nevron.UI.WinForm.Controls.NLightUIItemEventArgs)
    Gets the current mouse position (in client 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