Hello.
I have to UltraTrees on a form. I want to syncronize scrollbars, so when I scroll in the left UltraTree, right UltraTree scrolls automatically to the same scroll value.
I cannot find how to set the scroll value.
Thanks!
Hi,
I can suggest you the following approached based on the following forum posts http://forums.infragistics.com/forums/p/46636/250384.aspx# :
private void ultraTree1_Scroll(object sender, Infragistics.Win.UltraWinTree.TreeScrollEventArgs e)
{
if (e.ScrollBarType == Infragistics.Win.UltraWinTree.ScrollBarType.vertical)
ultraTree2.TopNode = ultraTree1.TopNode;
}
Where both trees have the same datasource.
Let me know if you need any additional help.
Regards,
Stefaniya