Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1DragDropManager Class / DragAutoScroll Event

In This Topic
    DragAutoScroll Event (C1DragDropManager)
    In This Topic
    Fires after the C1DragDropManager automatically scrolls a System.Windows.Controls.ScrollViewer in order to keep the drop location within view.
    Syntax
    'Declaration
     
    
    Public Event DragAutoScroll As DragDropEventHandler
    public event DragDropEventHandler DragAutoScroll
    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.  
    Remarks
    The System.Windows.Controls.ScrollViewer property of the DragDropEventArgs contains a reference to the System.Windows.Controls.ScrollViewer that was updated.
    See Also