Hi,
I have a xam data grid in Page1 and other in Page2 . i need to drag records from one grid and drop to other grid,using MVVM pattern in WPF.
Any Sample Applications would help Thanks.
Hi Matt
Thanks for the Sample Application
I am working with xamdatagrid. and could either see the Drag Icon or none of the events are triggering when i select the row and start the Drag Operation.
Below is my XAML Code.
<cts:XamDataGrid x:Name="dgDeviceList2" GroupByAreaLocation="None" SelectedItems="{Binding SelectedElements, Mode=OneWayToSource}" DataSource="{Binding AddIOComponents}" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" ScrollingMode="Immediate" Margin="0,53,0,35" AssigningFieldLayoutToItem="xamDataGrid1_AssigningFieldLayoutToItem"> <ig:DragDropManager.DragSource> <ig:DragSource DragEnter="DragSource_DragEnter" IsDraggable="True" DragChannels="ChannelA" DragTemplate="{StaticResource dt}" DragOver="DragSource_DragOver" Drop="DragSource_Drop"/> </ig:DragDropManager.DragSource>
</cts:XamDataGrid>
Do i need to do something differently for xamdata grid.