Skip to content

Releases: punker76/gong-wpf-dragdrop

gong-wpf-dragdrop v2.0.0

28 Mar 23:14
2201eb0
Compare
Choose a tag to compare

As part of this release we had 46 issues closed.

Breaking Changes

  • #304 Use new msbuild csproj file and other stuff
  • #302 Drop targeting to framework .Net 3.5 and .Net 4.0
  • #301 Strong-Naming again...
  • #274 Increase major on breaking changes

Bugs

  • #309 Dragdrop tool throws an exception when trying to reorder ListBox items that are themselves collections.
  • #296 DropTargetInsertionAdorner is short
  • #295 Adorner being calculated incorrectly with a WrapPanel as ItemsPanel in a ListView
  • #291 Changing the width of dragging effect?
  • #284 Nested list view drop target
  • #283 Fix for dragging an item over a nested ListView ref. #266
  • #276 Fix DropTargetInsertionAdorner for empty DataGrid and ListView
  • #272 Edited UnfilteredInsertIndex property
  • #266 Fix for dragging an item over a nested ListView
  • #265 (#264) Fix Ctrl-Click and drag only drags most recently selected item
  • #264 Ctrl-Click and drag only drags most recently selected item
  • #259 Fix #258 wrong dragged item
  • #258 When dragging a selected item, the drag info contains the previously selected items
  • #248 Fix IDropInfo.Data when dragging from an ItemsControl using a CollectionViewSource with groups
  • #247 Drag&Drop for Row Header in DataGrid
  • #244 Dragging an item over a nested ListView which is not a DropTarget will use it as target instead of parent
  • #242 Drag a listbox item that has its own listbox inside
  • #239 Fix Issue 235 adds focus when clicking unfocused ListBox that switche…
  • #235 Focus when selecting an item inside a Multiple Selection in a Control that currently does not have Focus does not change Focus as Expected
  • #234 TargetItem is always null
  • #233 NullReferenceException

Feature Request

  • #292 Allow DataObject to be any object

Enhancements

  • #297 Added DropTargetScrollViewer property
  • #287 Non ItemsControls use PreviewEvents instead of Bubbeling-Event-Version
  • #285 Make dragInfo available in custom drag adorner template selector
  • #275 New Feature: Select dropped items after drag&drop action
  • #273 Optimization in Drop method of DefaultDropHandler
  • #271 Drag&Drop from App to App
  • #270 (#269) Using own DataFormat for Drag&Drop action
  • #269 Using own DataFormat for Drag&Drop action
  • #268 New attached property ShowAlwaysDropTargetAdorner
  • #267 Add DragAdorner and EffectAdorner translation attached properties
  • #263 Added custom effect text
  • #261 Fix for #255 using custom DataObject
  • #255 Use custom DataObject directly without checking the Data again
  • #251 Allow for adjusting minimum vertical and horizontal drag distances
  • #249 Can we change the default position behavior of adorner?
  • #229 DropAdornerTemplate
  • #203 New attached property ShowDropAdornerOnEmptyTarget
  • #176 Reordering ListBox items - renew selection after drop
  • #115 Possible to have different DragAdornerTemplates based on DropTarget?

Hacktoberfest

  • #300 Add dependency property DropEventType

Where to get it

You can download this release from gong-wpf-dragdrop

gong-wpf-dragdrop v1.1.0

17 Jan 22:36
Compare
Choose a tag to compare
  • Fixes for hit test problems at drag start #214
    • Fix drag and click operations for ButtonBase controls
    • Fix for the correct source start control at mouse move
    • #213 Support for ControlTemplate types
    • #212 No Handler is called if ListView is inside Expander in DataTemplate
    • #145 Generalized drag-checks for scrollbar etc.
  • Fix selection for TreeView a8614fd
    • #227 Application crashes with nested drag source
  • Fix exception at capture screen for selected item (used for the default adorner) 64759ee
    • #219 CaptureScreen error
  • Change constructor of DropTargetAdorner and give the DragInfo as parameter to the adorner directly.
    • #224 With even the most basic example, I get a NullReferenceException when dragging
  • Improve performance for DragOver action with default adorner. d5e4cbf
  • Fix possible NullReferenceException at DropTargetInsertionAdorner. 97bbe66
  • Update/add/improve comments
  • Fix not working DragDropCopyKeyState property.
    • #200 Shortcut for copy-paste / cut-paste functionality?
    • #211 ListBox DragDropKeyStates example moves when being told to copy
    • #223
  • Add support for ContentElement as target elements. ContentElements such as Runs within TextBlocks could not be used as drop target items, because they are not UIElements. 23b1299
  • Allow drag of elements which are not ItemsControls. a135a80
    • Set the SourceItem to the DataContext from the sender of the drag operation
    • Set the VisualSourceItem to the OriginalSource of the drag operation
    • Use mouse position from OriginalSource if possible
    • #156 Most simplest case is not working
    • #157 Fix IsNotPartOfSender fixes #156
  • New attached property DropScrollingMode 54fd735
    • This property specifies how the ScrollViewer reacts to the drop action.
    • #205 Prevent scrolling in 1 direction
  • Add new property TargetScrollingMode to DropInfo aeb458c
    • It's possible to override the scrolling mode at the IDropTarget.DragOver method.
    • #154 Stop scrolling when dropping not allowed
  • Add new attached property DropTargetAdornerBrush and new Pen property to DropTargetAdorner. So it's now easier to change the drop target adorner brush. ccbb122
    • #225 change AdornerInsert color
  • Add new attached property CanDragWithMouseRightButton by @kirileec cba5fa1
    • #218 Add mouse right button dragging support
  • Prevent quickly selection changing while drag operation. 826dabe
    • #1 Selecting an item and the mouse quickly changes selection before drag is started
  • Better drop target handling for expanded TreeViewItem. eea2b0e
    • #103 Insert position calculates improperly for expanded TreeViewItem
  • Fix an issue with the DropAdorner Z-Index. Search for the ScrollContentPresenter only for DataGrid to show the DropTargetAdorner, cause on the other item controls it will shown on top. 46089a8
    • #207 Drop Target Adorner Z level

gong-wpf-dragdrop v1.0.0

02 Sep 23:21
Compare
Choose a tag to compare
  • 1.0.0
    • #107, #108: Fixed Group insertion adorner
    • #116, #117: Fixed weird behavior of Drag Adorner when dragging to window border
    • #118: Added HitTest4Type for ButtonBase (@toengi)
    • #120: Added DragDirectlySelectedOnly. Don't search for closest item. This allows to start selection when drag starts on empty space inside ListBox. (@sm-g)
    • #89, #91: Support for DragDropContext. Added optional DragDropContext dependency property for declarative of DragDrop operations. (@abbottdev)
    • SHA 65679a3: New IsSameDragDropContextAsSource property
    • SHA 51933a6: Add UnfilteredInsertIndex to DropInfo
    • #122: Support drag after last item in grouped list (@sm-g)
    • #106, #126: Default drop handler changes
      • Call DragOver in drop event too
      • ICloneable support for copy or link effect
    • #125: Fixed an issue when the ItemPresenter contains more ContentControls (@gerritvanroekel)
    • SHA 0e8526b: Fixed more grouping usage
    • #128: Empty TreeViewItem and common/default moving support
      • it's now possible to drop data on empty treeview items
      • re-create the EffectAdorner if drag&drop Effects are changed
      • the drop target adorner is now expanded to the right
      • change default behavior (move or copy, now default is copy), changable by DragDropCopyKeyState
    • #127, #130: Fixed Shift+Click of multi-selectable controls (works now as windows file explorer)
    • #109, #132: TabControl support and some improvements
      • support TabControl for drag&drop actions
      • support directly TabItem, ListViewItem, ListBoxItem and TreeViewItem
    • SHA: 96aad90 Search in x and y directions for possible items if the items control orientation is horizontal.
    • SHA: b735625 Minor drop insertion fix with RightToLeft flow direction.
    • #143: Allow target adorners on non-ItemsControls (@emsaks)
    • #139: Fixed COMException error when dragging over Skype: Provide new method TryCatchOccurredException in IDragSource to handle exceptions (thx to @Antonyo)
    • #161 Make DefaultDragHandler.CanStartDrag virtual (@Hinidu)
    • #172 Fix DragAdorner cliping last right and bottom pixels #173 (@andrewst)
    • #162 Fix for copy functionallity #164
    • #168, #193, #181, #182, #179, #159 Enable drop targets if ItemsControl are in ItemsControl and the ItemsControl is empty
    • #60, #150 Fix RelativeInsertPosition flag enumeration
    • #158 Fix performance issue when dragging an item in a ListView/ItemsControl
    • #188 Fix wrong start index with ItemsControl #196, #181, #182 (@faeriedust)
    • #165, #171 Find correct current adorner layer (root element) (@starguy)
    • #88 Fix finding target orientaion and flow direction (e.g. for TreeView with WrapPanel)
    • #104 Add XmlnsDefinition to AssemblyInfo, which can be used now in Xaml like this: xmlns:dd="urn:gong-wpf-dragdrop"
    • #146 Fix The specified Visual is not an ancestor of this Visual exception
    • #167 Fix VisualTreeHelper.HitTest exception with Viewport3D usage (HitTestParameters are not supported on Viewport3DVisual)
    • #151 Add new attached dependency property UseVisualSourceItemSizeForDragAdorner, so the DragAdorner uses the size of the visual source item as minimum value.
    • #187 Change DragSourceIgnore attached property to use FrameworkPropertyMetadataOptions.Inherits flag which makes this functionality much more useful and easier to control (thx to @mtdaniels)
    • #199 Use target root element to display adorners (@ltrzesniewski)
    • BREAKING CHANGE for strong naming: I will not do this anymore for this packages. If you need this then you should use the Strong Namer from @dsplaisted, it's an easy to add NuGet package which will help you.
    • #198
      • Capture the items with right Dpi. Add a DpiHelper class, cause Microsoft hides this relevant helper class and it's methods.
      • Show DragAdorner also on elements which are not allowed for hit test.
      • No Drag&Drop for NewItemPlaceholder in DataGrid and consider NewItemPlaceholderPosition to insert items at DefaultDropHandler.
      • Add new TargetScrollViewer property to DropInfo.
      • Check for ViewPort size on target insertion adorner.
      • Add new attached property ItemsPanelOrientation. This property allows the user to force the Orientation of the ItemsControl (ItemsPanel). Changes taken from #155 by @jankrib.

gong-wpf-dragdrop v0.1.4.1

18 Jun 23:22
Compare
Choose a tag to compare
  • 0.1.4.1 (20 June, 2014)
    • #102: All assemblies in Nuget Package 0.1.4 are compiled against v4 runtime.

gong-wpf-dragdrop v0.1.4

29 May 00:24
Compare
Choose a tag to compare
  • 0.1.4 (30 May, 2014)
    • #80: Handle non-collection targets (DefaultDropHandler was trying to dereference null when the drop target
      wasn't a collection).
    • #81: Added DragAdornerTemplateSelector.
    • #82: Drop Event does not properly bubble. (PR #101)
    • #83: DragDrop initiated a Messagebox (left mouse button release bug). (PR #100)
    • #84: Listview datatemplate with combobox has drag issues. (PR #87 #94)
    • #85: Drop to TextBox no longer working. (PR #86)
    • #92: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.Media.Visual'. (PR #94)
    • #97: Highlight adorner not outlining everything. (PR #99)
    • #98: Assembly is not signed.