ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1TreeView Class / DragDrop Event



In This Topic
    DragDrop Event (C1TreeView)
    In This Topic
    Fires at the end of a drag drop process, when the user releases the mouse button over a registered drop target.
    Syntax
    'Declaration
     
    
    Public Event DragDrop As DragDropEventHandler
    'Usage
     
    
    Dim instance As C1TreeView
    Dim handler As DragDropEventHandler
     
    AddHandler instance.DragDrop, handler
    public event DragDropEventHandler DragDrop
    public:
    event DragDropEventHandler^ DragDrop
    Event Data

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

    PropertyDescription
    Gets the System.Windows.UIElement that is acting as a drag source.  
    Gets the System.Windows.UIElement that is acting as a drop target.  
    Gets or sets the DragDropEffect that will be applied when the user drops the DragSource element into the DropTarget element.  
    Gets or sets the ScrollViewer that will scroll automatically during the drag drop operation when the mouse is near its edge.  
    See Also