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
How to do drag and drop multiple listview item to another listview in WPF?


I have two listview and I want to drag multiple item from one listview to another listview. without removing item from 1st listview,

my 2nd listview with grid view having 3 4 column, listview have some event like dragenter, drop etc. but I don't know how to use it,

any one have some example, please help me,


<ListView Grid.Row="1" x:Name="lstTags" Grid.IsSharedSizeScope="True" SelectionMode="Multiple"


<ListView Grid.Row="1" x:Name="lstSusbscribedGroupTag" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" Grid.IsSharedSizeScope="True" ItemContainerStyle="{DynamicResource MyItemContainerStyle}">


<GridView ScrollViewer.HorizontalScrollBarVisibility="Auto" ColumnHeaderContainerStyle="{DynamicResource CustomHeaderStyle}">

<GridViewColumn Header="Item ID" DisplayMemberBinding="{Binding ItemID}"/>

<GridViewColumn Header="Data Type" DisplayMemberBinding="{Binding Datatype}"/>

<GridViewColumn Header="Value" DisplayMemberBinding="{Binding Value}"/>

<GridViewColumn Header="Timestamp" DisplayMemberBinding="{Binding Timestamp}"/>

<GridViewColumn Header="Quality" DisplayMemberBinding="{Binding Quality}"/> <GridViewColumn Header="Update Count" DisplayMemberBinding="{Binding UpdateCount}"/>




Parents Reply Children
No Data