Skip to content

Drag source ignore issue in ListView #350

@YohskDista

Description

@YohskDista

Hello everyone,

I want to thank you very much for this library that always helped me in every project where I need to code Drag&Drop feature. I open this issue for a corner case that I discovered today, here is the explanation :

Issue

I have a problem with the DragSourceIgnore property that is not working totally. In a ListView WPF control I set for each ListViewItem the dragdrop:DragDrop.DragSourceIgnore to True. The only way to move the ListViewItem is to left click with the mouse on the drag icon on the left (like in the image below).

image

The problem is, when we go at the bottom of the list and you left click (like you want to drag something) on the red area here below, the last module is dragged in the list.

image

image

Steps to reprodue

To reproduce this issue you can use the Showcase.WPF.DragDrop.exe that you have created and select the example : Mixed -> Cloning

Expected outcome

Don't drag the module if we are in an ignored area.

Environment

  • GongSolutions.WPF.DragDrop v2.2.0
  • Windows OS 10
  • Visual Studio 2019
  • .NET Framework 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions