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

Docking/MDI for WPF Forum

Posted 3 years ago by Sunshine - Appeon
Version: 21.1.2


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?


Comments (1)

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


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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.