TreeListBox doesn't refresh child nodes properly when root node is hidden.

Grids for WPF Forum

Posted 1 year ago by Sunshine - Appeon
Version: 22.1.4
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

I created a TreeListBox and set the IsRootItemVisible property to false to hide the root node.

I then tried to make the children reload by calling the InvalidateChildren method on the root node, but nothing worked.

This only happens with the IsRootItemVisible property set to false.

Comments (1)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We will update our logic to handle this scenario properly for the next build when you call InvalidateChildren for the root item that isn't visible.

In the meantime, you might need to set TreeListBox.RootItem to null and then back to the real root item again.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.