TokenizingTextBox not allowing items to be reordered? #683
Unanswered
asim-rehman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have TokenizingTextBox and have set CanReorderItems and AllowDrop to true. SelectionMode is set to Single, however, it seems that the TokenizingTextBox does not allow reordering? I see that the TokenizingTextBox inherits ListViewBase so this functionality in theory should work out of the box, however, I can see on this documentation https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.listviewbase.canreorderitems?view=winrt-26100 it says built in reordering will not work with GroupedItems or VariableSizedWrapGrid. I have looked at the source for TokenizingTextBox and see it does not use VariableSizedWrapGrid and items are not grouped, what could be going wrong which does not allow reordering out of box? if this is not supported anyway of manually implementing this?
I have played around with DragItemsCompleted but cannot seem to get the index of where the item was dropped.
Beta Was this translation helpful? Give feedback.
All reactions