Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
how to listview dragdropmanager dragover reorder listviewitem?
posted

I'm use listview in the dragdropmanager here my xaml

<ListView Grid.Row="1" AllowDrop="True" ItemsSource="{Binding RecipeSeqList}" SelectionMode="Single">


<ig:DragDropManager.DropTarget>
<ig:DropTarget IsDropTarget="True" ig:HighlightOnDragStart="True"/>
</ig:DragDropManager.DropTarget>


<ListBox.ItemTemplate>
   <DataTemplate>
      <TextBlock Text="{Binding Name}">


<ig:DragDropManager.DragSource>
    <ig:DragSource IsDraggable="True" DragOver="DragSource_DragOver"/>
</ig:DragDropManager.DragSource>


</TextBlock>


</DataTemplate>
</ListBox.ItemTemplate>
</ListView>

I want select listviewitem and drag and change reorder listitem like picture   

ex) [1][2][3] DRAG-> [1][3][2]

but I can't.. help me!