TreeListBox will automatically select the parent node after deleting the child node.

Docking/MDI for WPF Forum

Posted 4 years ago by Sunshine - Appeon
Version: 21.1.2
Avatar

Hello!

I am using TreeListBox to make a file management tree.

After I delete a child node, it will always be automatically selected to the parent node.

How to prevent this behavior?

Thanks!

Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Yes it has to move selection somewhere in that scenario so it moves it to the parent node.  If you would like different behavior then I would recommend moving selection to somewhere outside of the node being deleted, prior to deleting the node.


Actipro Software Support

The latest build of this product (v25.1.0) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.