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
25
UltraTree automatically scroll
posted

Hi,

I have a treeview, and i need scroll when the mouse hover the borders of the tree.For example, when the mouse hover top right corner, i need to scroll to the top and to the right.

How scroll the treeview programmatically?

 

Thanks,

Daniel

Parents
  • 69832
    Suggested Answer
    Offline posted

    I haven't tried this, but if you cast the control to type Infragistics.Win.ISelectionManager, you will see two methods exposed by that interface: DoDragScrollVertical and DoDragScrollHorizontal. If I remember correctly you can call into them directly. The 'timerInterval' parameter represents the number of milliseconds between calls to the method, so lower values scroll faster.

Reply Children
No Data