Is there a way to find out if the vertical scrollbar is visible in a Tree?
HI estatemaster,
i wrote a recursive routine that searches for the vertical scroll bar.
private bool search(UIElementsCollection children) { for (int i = 0; i < children.Count ; i++) { if (children.ToString() == "Infragistics.Win.UltraWinTree.VerticalScrollbarUIElement") { return true; } else { richTextBox1.Text += " " + children.ToString() + "\n"; if (children.HasChildElements) { search(children.ChildElements); } } // MessageBox.Show(ultraTree1.UIElement.ChildElements.ToString()); } return false; }