The C1DragDropManager type exposes the following members.

Constructors

  Name Description
Public method C1DragDropManager

Methods

  Name Description
Public method ClearSources
Removes all the registered sources
Public method ClearTargets
Removes all the registered targets
Public method DoDragDrop
Initiates a drag drop operation using a UIElement as a source, supporting a specified DragDropEffect.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnDragAutoScroll
Raises the DragAutoScroll event.
Protected method OnDragDrop
Raises the DragDrop event.
Protected method OnDragEnter
Raises the DragEnter event.
Protected method OnDragLeave
Raises the DragLeave event.
Protected method OnDragOver
Raises the DragOver event.
Protected method OnDragStart
Raises the DragStart event.
Public method RegisterDragSource
Registers a UIElement to act as a drag source.
Public method RegisterDropTarget
Registers (or unregisters) an element as a drop target.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method UnregisterDragSource
Un-registers a UIElement as a drag source.

Properties

  Name Description
Public property AutoScroll
Gets or sets whether the C1DragDropManager should automatically scroll the ScrollViewer that contains the drop target.
Public property AutoScrollDelay
Gets or sets the number of milliseconds between auto scroll steps.
Public property AutoScrollEdge
Gets or sets the distance between the mouse and the edges of a drag target element that triggers the auto scroll process.
Public property AutoScrollStep
Gets or sets the number of pixels to scroll in each auto scroll step.
Public property Canvas
Gets a reference to the Canvas being used to show the drag-and-drop process.
Public property DragThreshold
Gets or sets the distance in pixels that the mouse must move before a drag operation starts.
Public property SourceMarker
Gets a reference to the Border used to highlight the drag source.
Public property TargetMarker
Gets the Border used to indicate the drop location.

Events

  Name Description
Public event DragAutoScroll
Fires after the C1DragDropManager automatically scrolls a ScrollViewer in order to keep the drop location within view.
Public event DragDrop
Fires at the end of a drag drop process, when the user releases the mouse button over a registered drop target.
Public event DragEnter
Fires during a drag drop process, when the cursor enters a registered drop target.
Public event DragLeave
Fires during a drag drop process, when the cursor leaves a registered drop target.
Public event DragOver
Fires during a drag drop process, when the cursor moves over a registered drop target.
Public event DragStart
Fires when a drag drop process starts.

See Also