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

Docking/MDI for WPF Forum

Posted 1 year 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 1 year 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 (v22.1.3) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.