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
415
Selected node is not highlighted.
posted

I am creating a node in code, but setting it's Selected property doesn't seem to highlight a node.  Can anyone lend a hand?

  • 469350
    Verified Answer
    Offline posted

     Hi,

        My guess is that your tree does not have focus. By default, the selected nodes in the tree are only highlighted when the control has focus. This is consitent with how the Inbox tree works.

        Try setting focus to the tree (call the Activate method on it) or set HideSelection to false.