The C1DragDropManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1DragDropManager |
Methods
Name | Description | |
---|---|---|
ClearSources |
Removes all the registered sources
|
|
ClearTargets |
Removes all the registered targets
|
|
DoDragDrop |
Initiates a drag drop operation using a UIElement as a source, supporting a specified DragDropEffect.
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
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.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnDragAutoScroll |
Raises the DragAutoScroll event.
|
|
OnDragDrop |
Raises the DragDrop event.
|
|
OnDragEnter |
Raises the DragEnter event.
|
|
OnDragLeave |
Raises the DragLeave event.
|
|
OnDragOver |
Raises the DragOver event.
|
|
OnDragStart |
Raises the DragStart event.
|
|
RegisterDragSource |
Registers a UIElement to act as a drag source.
|
|
RegisterDropTarget |
Registers (or unregisters) an element as a drop target.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
UnregisterDragSource |
Un-registers a UIElement as a drag source.
|
Properties
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 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.
|
Events
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.
|