ComponentOne FinancialChart for WPF
DragAutoScroll Event



C1.WPF Namespace > C1DragDropManager Class : DragAutoScroll Event
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
'Usage
 
Dim instance As C1DragDropManager
Dim handler As DragDropEventHandler
 
AddHandler instance.DragAutoScroll, handler
public event DragDropEventHandler DragAutoScroll
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