punker76 / gong-wpf-dragdrop

The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF
BSD 3-Clause "New" or "Revised" License
2.28k stars 400 forks source link

Dropping multiple objects gives a List<object> instead of List<viewmodel> #485

Open djodadof2 opened 7 months ago

djodadof2 commented 7 months ago

When selecting multiple objects then dragging and dropping them, the handler dropinfo data is a List of objects, whereas when doing the same for a single object it gives a viewmodel.

Losing the type of the objects being dropped prevents any logic from depending on the type.

If I rollback to v1.1 this no longer occurs; in that version I get a List of viewmodels in the dropinfo data. This behaviour starts at v2.0.0

I am dragging from one datagrid to another datagrid.