WinUI3 ListView InsertionMark functionality with C++/WinRT

90 views Asked by At

Is there a function similar to InsertionMark in WinUI3/UWP?

The function should be able to retrieve the place(index) in a ListView where an object is dropped. enter image description here

In this image I'm dragging an item from List2 to List1.

1

There are 1 answers

1
YangXiaoPo-MSFT On BEST ANSWER

The WinUI-Gallery sample shows a workaround, which finds the index based on the calculation of the coordinate of the dragged item and item height.

enter image description here