ShellTreeListBox navigate to a initial path?

Shell for WPF Forum

Posted 2 years ago by rex hui
Version: 18.1.0674
Avatar

I like to keep the default root for ShellTreeListBox but have it open to a certain path. Is there a way to specify that?

Comments (2)

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

I believe once the control has loaded (like in a Loaded event handler, the first time), you could do things like:

treeListBox.SelectItemByFullPath(@"C:\Windows");


Actipro Software Support

Posted 2 years ago by rex hui
Avatar

Loaded won't work, works for ContentRendered.

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

Add Comment

Please log in to a validated account to post comments.