Hi,
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,
thanks
<ListView Grid.Row="1" x:Name="lstTags" Grid.IsSharedSizeScope="True" SelectionMode="Multiple"
HorizontalContentAlignment="Left"/>
<ListView Grid.Row="1" x:Name="lstSusbscribedGroupTag" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" Grid.IsSharedSizeScope="True" ItemContainerStyle="{DynamicResource MyItemContainerStyle}">
<ListView.View>
<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}"/>
</GridView>
</ListView.View>
</ListView>
Hello Sushil,
You are welcome.
Feel free to contact us if you need assistance regarding Infragistics components.
Thank you Maria,
I'll go through these link, thank you for reply,
ListView is a control provided with the WPF package and it is best if you contact the experts in the field in the MSDN forums with questions related to their controls.
The following forum threads can also be used as a starting point for implementing the Drag and Drop functionality between the views:
http://stackoverflow.com/questions/7691041/how-to-implement-single-item-dragdrop-wpf-listview-in-mvvm-way/7691199#7691199
https://www.codeproject.com/Tips/804001/Drag-Drop-Gridview-in-Csharp
Please do not hesitate to let me know if you have any questions related to the Infragistics products.