diff options
author | sr55 <sr55.hb@outlook.com> | 2013-03-30 22:06:24 +0000 |
---|---|---|
committer | sr55 <sr55.hb@outlook.com> | 2013-03-30 22:06:24 +0000 |
commit | 09e3a53c02d90e793885983a384a9283b8243590 (patch) | |
tree | 5ece412423c19c8dcc54ce3d8ab23cba49816d29 | |
parent | 35a04667a062373693c91da1e3508beb40e51893 (diff) |
WinGui: Update the dragdrop library to fix a number of glitches.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5368 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML | 424 | ||||
-rw-r--r-- | win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll | bin | 34304 -> 49664 bytes | |||
-rw-r--r-- | win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb | bin | 81408 -> 97792 bytes | |||
-rw-r--r-- | win/CS/libraries/WPFDragDrop/SourceModifications.zip | bin | 28597 -> 0 bytes | |||
-rw-r--r-- | win/CS/libraries/WPFDragDrop/notes.txt | 1 |
5 files changed, 251 insertions, 174 deletions
diff --git a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML index 37d4ff9b9..297f4bf28 100644 --- a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML +++ b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML @@ -4,6 +4,34 @@ <name>GongSolutions.Wpf.DragDrop</name>
</assembly>
<members>
+ <member name="T:GongSolutions.Wpf.DragDrop.IDragSource">
+ <summary>
+ Interface implemented by Drag Handlers.
+ </summary>
+ </member>
+ <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)">
+ <summary>
+ Queries whether a drag can be started.
+ </summary>
+
+ <param name="dragInfo">
+ Information about the drag.
+ </param>
+
+ <remarks>
+ To allow a drag to be started, the <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.Effects"/> property on <paramref name="dragInfo"/>
+ should be set to a value other than <see cref="!:DragDropEffects.None"/>.
+ </remarks>
+ </member>
+ <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.Dropped(GongSolutions.Wpf.DragDrop.IDropInfo)">
+ <summary>
+ Notifies the drag handler that a drop has occurred.
+ </summary>
+
+ <param name="dropInfo">
+ Information about the drop.
+ </param>
+ </member>
<member name="T:GongSolutions.Wpf.DragDrop.IDropTarget">
<summary>
Interface implemented by Drop Handlers.
@@ -33,130 +61,197 @@ Information about the drop.
</param>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.Data">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.Data">
<summary>
- Gets the drag data.
+ Gets or sets the drag data.
</summary>
<remarks>
- If the drag came from within the framework, this will hold:
+ This must be set by a drag handler in order for a drag to start.
+ </remarks>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.DragStartPosition">
+ <summary>
+ Gets the position of the click that initiated the drag, relative to <see cref="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource"/>.
+ </summary>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.PositionInDraggedItem">
+ <summary>
+ Gets the point where the cursor was relative to the item being dragged when the drag was started.
+ </summary>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.Effects">
+ <summary>
+ Gets or sets the allowed effects for the drag.
+ </summary>
- - The dragged data if a single item was dragged.
- - A typed IEnumerable if multiple items were dragged.
+ <remarks>
+ This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drag handler in order
+ for a drag to start.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DragInfo">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.MouseButton">
<summary>
- Gets a <see cref="P:GongSolutions.Wpf.DragDrop.IDropInfo.DragInfo"/> object holding information about the source of the drag,
- if the drag came from within the framework.
+ Gets the mouse button that initiated the drag.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DropPosition">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceCollection">
<summary>
- Gets the mouse position relative to the VisualTarget
+ Gets the collection that the source ItemsControl is bound to.
</summary>
+
+ <remarks>
+ If the control that initated the drag is unbound or not an ItemsControl, this will be null.
+ </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DropTargetAdorner">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceItem">
<summary>
- Gets or sets the class of drop target to display.
+ Gets the object that a dragged item is bound to.
</summary>
<remarks>
- The standard drop target adorner classes are held in the <see cref="T:GongSolutions.Wpf.DragDrop.DropTargetAdorners"/>
- class.
+ If the control that initated the drag is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.Effects">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceItems">
<summary>
- Gets or sets the allowed effects for the drop.
+ Gets a collection of objects that the selected items in an ItemsControl are bound to.
</summary>
<remarks>
- This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drop handler in order
- for a drop to be possible.
+ If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.InsertIndex">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource">
<summary>
- Gets the current insert position within <see cref="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetCollection"/>.
+ Gets the control that initiated the drag.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetCollection">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSourceItem">
<summary>
- Gets the collection that the target ItemsControl is bound to.
+ Gets the item in an ItemsControl that started the drag.
</summary>
<remarks>
- If the current drop target is unbound or not an ItemsControl, this will be null.
+ If the control that initiated the drag is an ItemsControl, this property will hold the item
+ container of the clicked item. For example, if <see cref="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource"/> is a ListBox this
+ will hold a ListBoxItem.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.DataObject">
<summary>
- Gets the object that the current drop target is bound to.
+ Gets the <see cref="T:System.Windows.IDataObject"/> which is used by the drag and drop operation. Set it to
+ a custom instance if custom drag and drop behavior is needed.
+ </summary>
+ </member>
+ <member name="T:GongSolutions.Wpf.DragDrop.DragInfo">
+ <summary>
+ Holds information about a the source of a drag drop operation.
</summary>
<remarks>
- If the current drop target is unbound or not an ItemsControl, this will be null.
+ The <see cref="T:GongSolutions.Wpf.DragDrop.DragInfo"/> class holds all of the framework's information about the source
+ of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)"/> to determine whether a drag
+ can start, and what the dragged data should be.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetGroup">
+ <member name="M:GongSolutions.Wpf.DragDrop.DragInfo.#ctor(System.Object,System.Windows.Input.MouseButtonEventArgs)">
<summary>
- Gets the current group target.
+ Initializes a new instance of the DragInfo class.
+ </summary>
+
+ <param name="sender">
+ The sender of the mouse event that initiated the drag.
+ </param>
+
+ <param name="e">
+ The mouse event that initiated the drag.
+ </param>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.Data">
+ <summary>
+ Gets or sets the drag data.
</summary>
<remarks>
- If the drag is currently over an ItemsControl with groups, describes the group that
- the drag is currently over.
+ This must be set by a drag handler in order for a drag to start.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTarget">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.DragStartPosition">
<summary>
- Gets the control that is the current drop target.
+ Gets the position of the click that initiated the drag, relative to <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource"/>.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTargetItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.PositionInDraggedItem">
<summary>
- Gets the item in an ItemsControl that is the current drop target.
+ Gets the point where the cursor was relative to the item being dragged when the drag was started.
+ </summary>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.Effects">
+ <summary>
+ Gets or sets the allowed effects for the drag.
</summary>
<remarks>
- If the current drop target is unbound or not an ItemsControl, this will be null.
+ This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drag handler in order
+ for a drag to start.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTargetOrientation">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.MouseButton">
<summary>
- Gets th orientation of the current drop target.
+ Gets the mouse button that initiated the drag.
</summary>
</member>
- <member name="T:GongSolutions.Wpf.DragDrop.DropInfo">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceCollection">
<summary>
- Holds information about a the target of a drag drop operation.
+ Gets the collection that the source ItemsControl is bound to.
</summary>
<remarks>
- The <see cref="T:GongSolutions.Wpf.DragDrop.DropInfo"/> class holds all of the framework's information about the current
- target of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.DragOver(GongSolutions.Wpf.DragDrop.IDropInfo)"/> method to determine whether
- the current drop target is valid, and by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.Drop(GongSolutions.Wpf.DragDrop.IDropInfo)"/> to perform the drop.
+ If the control that initated the drag is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="M:GongSolutions.Wpf.DragDrop.DropInfo.#ctor(System.Object,System.Windows.DragEventArgs,GongSolutions.Wpf.DragDrop.DragInfo)">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceItem">
<summary>
- Initializes a new instance of the DropInfo class.
+ Gets the object that a dragged item is bound to.
</summary>
- <param name="sender">
- The sender of the drag event.
- </param>
+ <remarks>
+ If the control that initated the drag is unbound or not an ItemsControl, this will be null.
+ </remarks>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceItems">
+ <summary>
+ Gets a collection of objects that the selected items in an ItemsControl are bound to.
+ </summary>
- <param name="e">
- The drag event.
- </param>
+ <remarks>
+ If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
+ </remarks>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource">
+ <summary>
+ Gets the control that initiated the drag.
+ </summary>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSourceItem">
+ <summary>
+ Gets the item in an ItemsControl that started the drag.
+ </summary>
- <param name="dragInfo">
- Information about the source of the drag, if the drag came from within the framework.
- </param>
+ <remarks>
+ If the control that initiated the drag is an ItemsControl, this property will hold the item
+ container of the clicked item. For example, if <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource"/> is a ListBox this
+ will hold a ListBoxItem.
+ </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.Data">
+ <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.DataObject">
+ <summary>
+ Gets the <see cref="T:System.Windows.IDataObject"/> which is used by the drag and drop operation. Set it to
+ a custom instance if custom drag and drop behavior is needed.
+ </summary>
+ </member>
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.Data">
<summary>
Gets the drag data.
</summary>
@@ -168,18 +263,18 @@ - A typed IEnumerable if multiple items were dragged.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DragInfo">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DragInfo">
<summary>
- Gets a <see cref="P:GongSolutions.Wpf.DragDrop.DropInfo.DragInfo"/> object holding information about the source of the drag,
+ Gets a <see cref="P:GongSolutions.Wpf.DragDrop.IDropInfo.DragInfo"/> object holding information about the source of the drag,
if the drag came from within the framework.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DropPosition">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DropPosition">
<summary>
Gets the mouse position relative to the VisualTarget
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DropTargetAdorner">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DropTargetAdorner">
<summary>
Gets or sets the class of drop target to display.
</summary>
@@ -189,7 +284,7 @@ class.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.Effects">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.Effects">
<summary>
Gets or sets the allowed effects for the drop.
</summary>
@@ -199,12 +294,12 @@ for a drop to be possible.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.InsertIndex">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.InsertIndex">
<summary>
- Gets the current insert position within <see cref="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetCollection"/>.
+ Gets the current insert position within <see cref="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetCollection"/>.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetCollection">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetCollection">
<summary>
Gets the collection that the target ItemsControl is bound to.
</summary>
@@ -213,7 +308,7 @@ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetItem">
<summary>
Gets the object that the current drop target is bound to.
</summary>
@@ -222,7 +317,7 @@ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetGroup">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.TargetGroup">
<summary>
Gets the current group target.
</summary>
@@ -232,12 +327,12 @@ the drag is currently over.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTarget">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTarget">
<summary>
Gets the control that is the current drop target.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTargetItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTargetItem">
<summary>
Gets the item in an ItemsControl that is the current drop target.
</summary>
@@ -246,206 +341,187 @@ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTargetOrientation">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTargetOrientation">
<summary>
- Gets th orientation of the current drop target.
+ Gets the orientation of the current drop target.
</summary>
</member>
- <member name="T:GongSolutions.Wpf.DragDrop.IDragSource">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.VisualTargetFlowDirection">
<summary>
- Interface implemented by Drag Handlers.
+ Gets the FlowDirection of the current drop target.
</summary>
</member>
- <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.DestinationText">
<summary>
- Queries whether a drag can be started.
+ Gets and sets the text displayed in the DropDropEffects adorner.
</summary>
-
- <param name="dragInfo">
- Information about the drag.
- </param>
-
- <remarks>
- To allow a drag to be started, the <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.Effects"/> property on <paramref name="dragInfo"/>
- should be set to a value other than <see cref="!:DragDropEffects.None"/>.
- </remarks>
</member>
- <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.Dropped(GongSolutions.Wpf.DragDrop.IDropInfo)">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.InsertPosition">
<summary>
- Notifies the drag handler that a drop has occurred.
+ Gets the relative position the item will be inserted to compared to the TargetItem
</summary>
-
- <param name="dropInfo">
- Information about the drop.
- </param>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.Data">
+ <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.KeyStates">
<summary>
- Gets or sets the drag data.
+ Gets a flag enumeration indicating the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
+ </summary>
+ </member>
+ <member name="T:GongSolutions.Wpf.DragDrop.DropInfo">
+ <summary>
+ Holds information about a the target of a drag drop operation.
</summary>
<remarks>
- This must be set by a drag handler in order for a drag to start.
+ The <see cref="T:GongSolutions.Wpf.DragDrop.DropInfo"/> class holds all of the framework's information about the current
+ target of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.DragOver(GongSolutions.Wpf.DragDrop.IDropInfo)"/> method to determine whether
+ the current drop target is valid, and by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.Drop(GongSolutions.Wpf.DragDrop.IDropInfo)"/> to perform the drop.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.DragStartPosition">
+ <member name="M:GongSolutions.Wpf.DragDrop.DropInfo.#ctor(System.Object,System.Windows.DragEventArgs,GongSolutions.Wpf.DragDrop.DragInfo)">
<summary>
- Gets the position of the click that initiated the drag, relative to <see cref="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource"/>.
+ Initializes a new instance of the DropInfo class.
</summary>
+
+ <param name="sender">
+ The sender of the drag event.
+ </param>
+
+ <param name="e">
+ The drag event.
+ </param>
+
+ <param name="dragInfo">
+ Information about the source of the drag, if the drag came from within the framework.
+ </param>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.Effects">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.Data">
<summary>
- Gets or sets the allowed effects for the drag.
+ Gets the drag data.
</summary>
<remarks>
- This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drag handler in order
- for a drag to start.
+ 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.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.MouseButton">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DragInfo">
<summary>
- Gets the mouse button that initiated the drag.
+ Gets a <see cref="P:GongSolutions.Wpf.DragDrop.DropInfo.DragInfo"/> object holding information about the source of the drag,
+ if the drag came from within the framework.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceCollection">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DropPosition">
<summary>
- Gets the collection that the source ItemsControl is bound to.
+ Gets the mouse position relative to the VisualTarget
</summary>
-
- <remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be null.
- </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DropTargetAdorner">
<summary>
- Gets the object that a dragged item is bound to.
+ Gets or sets the class of drop target to display.
</summary>
<remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be null.
+ The standard drop target adorner classes are held in the <see cref="T:GongSolutions.Wpf.DragDrop.DropTargetAdorners"/>
+ class.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceItems">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.Effects">
<summary>
- Gets a collection of objects that the selected items in an ItemsControl are bound to.
+ Gets or sets the allowed effects for the drop.
</summary>
<remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
+ This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drop handler in order
+ for a drop to be possible.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.InsertIndex">
<summary>
- Gets the control that initiated the drag.
+ Gets the current insert position within <see cref="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetCollection"/>.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSourceItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetCollection">
<summary>
- Gets the item in an ItemsControl that started the drag.
+ Gets the collection that the target ItemsControl is bound to.
</summary>
<remarks>
- If the control that initiated the drag is an ItemsControl, this property will hold the item
- container of the clicked item. For example, if <see cref="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSource"/> is a ListBox this
- will hold a ListBoxItem.
+ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="T:GongSolutions.Wpf.DragDrop.DragInfo">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetItem">
<summary>
- Holds information about a the source of a drag drop operation.
+ Gets the object that the current drop target is bound to.
</summary>
<remarks>
- The <see cref="T:GongSolutions.Wpf.DragDrop.DragInfo"/> class holds all of the framework's information about the source
- of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)"/> to determine whether a drag
- can start, and what the dragged data should be.
+ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="M:GongSolutions.Wpf.DragDrop.DragInfo.#ctor(System.Object,System.Windows.Input.MouseButtonEventArgs)">
- <summary>
- Initializes a new instance of the DragInfo class.
- </summary>
-
- <param name="sender">
- The sender of the mouse event that initiated the drag.
- </param>
-
- <param name="e">
- The mouse event that initiated the drag.
- </param>
- </member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.Data">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.TargetGroup">
<summary>
- Gets or sets the drag data.
+ Gets the current group target.
</summary>
<remarks>
- This must be set by a drag handler in order for a drag to start.
+ If the drag is currently over an ItemsControl with groups, describes the group that
+ the drag is currently over.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.DragStartPosition">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTarget">
<summary>
- Gets the position of the click that initiated the drag, relative to <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource"/>.
+ Gets the control that is the current drop target.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.Effects">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTargetItem">
<summary>
- Gets or sets the allowed effects for the drag.
+ Gets the item in an ItemsControl that is the current drop target.
</summary>
<remarks>
- This must be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/> by a drag handler in order
- for a drag to start.
+ If the current drop target is unbound or not an ItemsControl, this will be null.
</remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.MouseButton">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTargetOrientation">
<summary>
- Gets the mouse button that initiated the drag.
+ Gets the orientation of the current drop target.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceCollection">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.VisualTargetFlowDirection">
<summary>
- Gets the collection that the source ItemsControl is bound to.
+ Gets the orientation of the current drop target.
</summary>
-
- <remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be null.
- </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceItem">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.DestinationText">
<summary>
- Gets the object that a dragged item is bound to.
+ Gets and sets the text displayed in the DropDropEffects adorner.
</summary>
-
- <remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be null.
- </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceItems">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.InsertPosition">
<summary>
- Gets a collection of objects that the selected items in an ItemsControl are bound to.
+ Gets the relative position the item will be inserted to compared to the TargetItem
</summary>
-
- <remarks>
- If the control that initated the drag is unbound or not an ItemsControl, this will be empty.
- </remarks>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource">
+ <member name="P:GongSolutions.Wpf.DragDrop.DropInfo.KeyStates">
<summary>
- Gets the control that initiated the drag.
+ Gets a flag enumeration indicating the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
</summary>
</member>
- <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSourceItem">
+ <member name="T:GongSolutions.Wpf.DragDrop.Icons.IconFactory">
<summary>
- Gets the item in an ItemsControl that started the drag.
+ Static class to provide access to standard application images
</summary>
-
- <remarks>
- If the control that initiated the drag is an ItemsControl, this property will hold the item
- container of the clicked item. For example, if <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSource"/> is a ListBox this
- will hold a ListBoxItem.
- </remarks>
+ </member>
+ <member name="M:GongSolutions.Wpf.DragDrop.Icons.IconFactory.GetImage(System.String,System.Int32)">
+ <summary>
+ Loads an image based on the name and size required.
+ Images need to be marked as 'Resource' in the project for them be loaded.
+ </summary>
+ <param name="iconName">Name of the icon</param>
+ <param name="size">The size of the icon</param>
+ <returns>The image to be displayed</returns>
</member>
</members>
</doc>
diff --git a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll Binary files differindex 5617d91b9..3e9615082 100644 --- a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll +++ b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll diff --git a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb Binary files differindex ce74a4036..997730460 100644 --- a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb +++ b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb diff --git a/win/CS/libraries/WPFDragDrop/SourceModifications.zip b/win/CS/libraries/WPFDragDrop/SourceModifications.zip Binary files differdeleted file mode 100644 index 9d050d455..000000000 --- a/win/CS/libraries/WPFDragDrop/SourceModifications.zip +++ /dev/null diff --git a/win/CS/libraries/WPFDragDrop/notes.txt b/win/CS/libraries/WPFDragDrop/notes.txt new file mode 100644 index 000000000..4d3071ad0 --- /dev/null +++ b/win/CS/libraries/WPFDragDrop/notes.txt @@ -0,0 +1 @@ +https://github.com/punker76/gong-wpf-dragdrop
|