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
Drop onto a row in XAMgrid


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


For Each myrow As Row In grdListing.Rows

            Infragistics.DragDrop.DragDropManager.SetDropTarget(CType(myrow, System.Windows.DependencyObject), myRowDropTarget)


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?