[]
Provides methods for drag-and-drop operations in Silverlight applications.
public class C1DragDropManager
| Name | Description |
|---|---|
| C1DragDropManager() |
| Name | Description |
|---|---|
| AutoScroll | Gets or sets whether the C1DragDropManager should automatically scroll the ScrollViewer that contains the drop target. |
| AutoScrollDelay | Gets or sets the number of milliseconds between auto scroll steps. |
| AutoScrollEdge | Gets or sets the distance between the mouse and the edges of a drag target element that triggers the auto scroll process. |
| AutoScrollStep | Gets or sets the number of pixels to scroll in each auto scroll step. |
| Canvas | Gets a reference to the C1.Silverlight.C1DragDropManager.Canvas being used to show the drag-and-drop process. |
| DragThreshold | Gets or sets the distance in pixels that the mouse must move before a drag operation starts. |
| SourceMarker | Gets a reference to the Border used to highlight the drag source. |
| TargetMarker | Gets the Border used to indicate the drop location. |
| Name | Description |
|---|---|
| ClearSources() | Removes all the registered sources |
| ClearTargets() | Removes all the registered targets |
| DoDragDrop(UIElement, MouseEventArgs, DragDropEffect) | Initiates a drag drop operation using a UIElement as a source, supporting a specified DragDropEffect. |
| OnDragAutoScroll(DragDropEventArgs) | Raises the DragAutoScroll event. |
| OnDragDrop(RoutedEventArgs) | Raises the DragDrop event. |
| OnDragEnter(RoutedEventArgs) | Raises the DragEnter event. |
| OnDragLeave(RoutedEventArgs) | Raises the DragLeave event. |
| OnDragOver(RoutedEventArgs) | Raises the DragOver event. |
| OnDragStart(RoutedEventArgs) | Raises the DragStart event. |
| RegisterDragSource(UIElement, DragDropEffect, ModifierKeys, bool) | Registers a UIElement to act as a drag source. |
| RegisterDropTarget(UIElement, bool) | Registers (or unregisters) an element as a drop target. |
| UnregisterDragSource(UIElement) | Un-registers a UIElement as a drag source. |
| Name | Description |
|---|---|
| DragAutoScroll | Fires after the C1DragDropManager automatically scrolls a ScrollViewer in order to keep the drop location within view. |
| DragDrop | Fires at the end of a drag drop process, when the user releases the mouse button over a registered drop target. |
| DragEnter | Fires during a drag drop process, when the cursor enters a registered drop target. |
| DragLeave | Fires during a drag drop process, when the cursor leaves a registered drop target. |
| DragOver | Fires during a drag drop process, when the cursor moves over a registered drop target. |
| DragStart | Fires when a drag drop process starts. |