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
3550
Select tree node programatically
posted

I want to select an UltraTreeNode, programatically.

I mean, I want it to be colored in blue, as if the user pressed on it.

I found the command, BringIntoView, but it only shows it and does not select it.

  • 69832
    Offline posted

    I assume you set the UltraTreeNode.Selected property to true and dod not notice a visual difference; this is usually because the UltraTree.HideSelection property defaults to true, which means the control does not visually depict the selected state when it does not have focus. You can set that property to false to prevent this.