Disable selected treenode highlighting during a dragover

Is it possible to temporarily switch off node highlighting in a treeview In particular I want to do this during dragenter and dragover events. TreeView.HideSelection does not seem to work as the TreeView control has focus. I tried TreView.SelectedNode = null but that failed to work.

- Paul



Answer this question

Disable selected treenode highlighting during a dragover

  • Senthil Ramadoss

    It is possible. Setting SelectedNode=null on dragenter removes the highlighting. Sorry for the confusion.
  • Disable selected treenode highlighting during a dragover