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

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?

Parents
No Data
Reply Children