Hi,
I have a enabled the Drag Drop in XamDataGrid using Infragistics DragDrop Framework DragSource. Everything work fines except when the xamdataGrid shows scrollbar & user tries to drag the item to it's end suto scrolling doesn't happen. How can we achieve it ??
I had tried
xamDataGrid.ExecuteCommand(DataPresenterCommands.RecordPageBelow)
But I am not sure how to know that a record is the last record in the view to trigger the above command.
Any help is highly appreciated.
Thanks,
Deep
Hello Deep,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Thank you for your post. I have been looking into the functionality that you are trying to achieve and what I can suggest is using the DragOver event of the DragSource and use the mouse position based on the XamDataGrid and if it is at the most top or bottom point to get the ScrollViewer that XamDataGrid uses and scroll the XamDataGrid using the ScrollToVerticalOffset method of the ScrollViewer. I have created a sample application for you, that shows how implement this approach.
Please let me know if you need any further assistance on the matter.