Is your feature request related to a problem? Please describe.
I am creating an app where I want to display a list of virtual files along with their names and sizes. TableView is working fairly well for that, but I also want to be able to drag an item out of the list and into file explorer, and I cannot get the drag events to work properly.
I have set CanDragItems="True" on my TableView, but the DragItemsStarting event never fires when I drag an item by a table cell. I suspect that this may be caused by the logic which makes dragging within the data select a rectangular region of cells, because if I start the drag somewhere to the right of the last column, then it does fire the DragItemsStarting event.
Describe the solution you'd like
Would it be possible to add an option to disable the built-in drag selection?
I saw #344 is somewhat related to this, as it would replace the built-in selection behavior to show a drag rectangle. Perhaps instead of a single Boolean to enable that, there could be an enum with options for drag rectangle, the current behavior, and no extra selection logic beyond what is already provided by ListView?
Describe alternatives you've considered
I haven't found any other alternatives.
Is your feature request related to a problem? Please describe.
I am creating an app where I want to display a list of virtual files along with their names and sizes.
TableViewis working fairly well for that, but I also want to be able to drag an item out of the list and into file explorer, and I cannot get the drag events to work properly.I have set
CanDragItems="True"on myTableView, but theDragItemsStartingevent never fires when I drag an item by a table cell. I suspect that this may be caused by the logic which makes dragging within the data select a rectangular region of cells, because if I start the drag somewhere to the right of the last column, then it does fire theDragItemsStartingevent.Describe the solution you'd like
Would it be possible to add an option to disable the built-in drag selection?
I saw #344 is somewhat related to this, as it would replace the built-in selection behavior to show a drag rectangle. Perhaps instead of a single Boolean to enable that, there could be an enum with options for drag rectangle, the current behavior, and no extra selection logic beyond what is already provided by
ListView?Describe alternatives you've considered
I haven't found any other alternatives.