GongSolutions.Wpf.DragDrop
Gets the drag data.
If the drag came from within the framework, this will hold:
- The dragged data if a single item was dragged.
- A typed IEnumerable if multiple items were dragged.
Gets a object holding information about the source of the drag,
if the drag came from within the framework.
Gets the mouse position relative to the VisualTarget
Gets or sets the class of drop target to display.
The standard drop target adorner classes are held in the
class.
Gets or sets the allowed effects for the drop.
This must be set to a value other than by a drop handler in order
for a drop to be possible.
Gets the current insert position within .
Gets the collection that the target ItemsControl is bound to.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets the object that the current drop target is bound to.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets the current group target.
If the drag is currently over an ItemsControl with groups, describes the group that
the drag is currently over.
Gets the control that is the current drop target.
Gets the item in an ItemsControl that is the current drop target.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets th orientation of the current drop target.
Holds information about a the target of a drag drop operation.
The class holds all of the framework's information about the current
target of a drag. It is used by method to determine whether
the current drop target is valid, and by to perform the drop.
Initializes a new instance of the DropInfo class.
The sender of the drag event.
The drag event.
Information about the source of the drag, if the drag came from within the framework.
Gets the drag data.
If the drag came from within the framework, this will hold:
- The dragged data if a single item was dragged.
- A typed IEnumerable if multiple items were dragged.
Gets a object holding information about the source of the drag,
if the drag came from within the framework.
Gets the mouse position relative to the VisualTarget
Gets or sets the class of drop target to display.
The standard drop target adorner classes are held in the
class.
Gets or sets the allowed effects for the drop.
This must be set to a value other than by a drop handler in order
for a drop to be possible.
Gets the current insert position within .
Gets the collection that the target ItemsControl is bound to.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets the object that the current drop target is bound to.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets the current group target.
If the drag is currently over an ItemsControl with groups, describes the group that
the drag is currently over.
Gets the control that is the current drop target.
Gets the item in an ItemsControl that is the current drop target.
If the current drop target is unbound or not an ItemsControl, this will be null.
Gets th orientation of the current drop target.
Interface implemented by Drop Handlers.
Updates the current drag state.
Information about the drag.
To allow a drop at the current drag position, the property on
should be set to a value other than
and should be set to a non-null value.
Performs a drop.
Information about the drop.
Gets or sets the drag data.
This must be set by a drag handler in order for a drag to start.
Gets the position of the click that initiated the drag, relative to .
Gets or sets the allowed effects for the drag.
This must be set to a value other than by a drag handler in order
for a drag to start.
Gets the mouse button that initiated the drag.
Gets the collection that the source ItemsControl is bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be null.
Gets the object that a dragged item is bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be null.
Gets a collection of objects that the selected items in an ItemsControl are bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
Gets the control that initiated the drag.
Gets the item in an ItemsControl that started the drag.
If the control that initiated the drag is an ItemsControl, this property will hold the item
container of the clicked item. For example, if is a ListBox this
will hold a ListBoxItem.
Holds information about a the source of a drag drop operation.
The class holds all of the framework's information about the source
of a drag. It is used by to determine whether a drag
can start, and what the dragged data should be.
Initializes a new instance of the DragInfo class.
The sender of the mouse event that initiated the drag.
The mouse event that initiated the drag.
Gets or sets the drag data.
This must be set by a drag handler in order for a drag to start.
Gets the position of the click that initiated the drag, relative to .
Gets or sets the allowed effects for the drag.
This must be set to a value other than by a drag handler in order
for a drag to start.
Gets the mouse button that initiated the drag.
Gets the collection that the source ItemsControl is bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be null.
Gets the object that a dragged item is bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be null.
Gets a collection of objects that the selected items in an ItemsControl are bound to.
If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
Gets the control that initiated the drag.
Gets the item in an ItemsControl that started the drag.
If the control that initiated the drag is an ItemsControl, this property will hold the item
container of the clicked item. For example, if is a ListBox this
will hold a ListBoxItem.
Interface implemented by Drag Handlers.
Queries whether a drag can be started.
Information about the drag.
To allow a drag to be started, the property on
should be set to a value other than .
Notifies the drag handler that a drop has occurred.
Information about the drop.