Hi
I need to drop onto individual rows in a XAMgrid and not just the entire grid. I have tried setting the rows as droptargets using
Dim myRowDropTarget As Infragistics.DragDrop.DropTarget = New Infragistics.DragDrop.DropTarget()
myrowdropTarget.IsDropTarget =True
myRowDropTarget.DropChannels.Add("ChannelGridRows")
For Each myrow As Row In grdListing.Rows
Infragistics.DragDrop.DragDropManager.SetDropTarget(CType(myrow, System.Windows.DependencyObject), myRowDropTarget)
Next
but it gives the error
Value of type 'Infragistics.Controls.Grids.Row' cannot be converted to 'System.Windows.DependencyObject'
Does anyone know how I can do this?
Hello,
You can look at this post where you can find XamGridEx.zip attched where XamGrid is extended with such functionality.
Regards.Plamen.
Hi Plamen
This sample does dragging of individual rows, but what I need to do is drop onto individual rows. Do you have any advice on that?
Thanks