Skip to content

gong-wpf-dragdrop v1.1.0

Compare
Choose a tag to compare
@punker76 punker76 released this 17 Jan 22:36
  • 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