I'm looking to have the grid control scroll down as I drag my mouse down the grid. This is helpful for users so that they don't have to reach over and grab the scroll bar. Basically I want the grid to work more like an ipad web page works, grab anywhere and drag to scroll.
Hello,
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
This worked perfectly, thanks!
One more questions, I want to apply the same logic to the ultra tree but I don't see an equivalent to scrollposition for the tree control.
Perfect, thanks!
Then you could try using the following code sample:
if (e.Y > lastY) { ultraTree1.PerformAction(Infragistics.Win.UltraWinTree.UltraTreeAction.NextNodeNoSelect, false, false); } else { ultraTree1.PerformAction(Infragistics.Win.UltraWinTree.UltraTreeAction.PrevNodeNoSelect, false, false); }
Please do not hesitate to contact us if you need any additional assistance.
Thank you for the prompt response, the allowautodragscrolling was turned on. I should be more clear, I'm looking for the same solution that you gave me on the grid but I need it for the Tree control.
Thanks!
Could you please try the following code:
ultraTree1.AllowAutoDragScrolling = true;