ShellTreeListBox navigate to a initial path?

Shell for WPF Forum

Posted 1 year 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 1 year 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 1 year ago by rex hui
Avatar

Loaded won't work, works for ContentRendered.

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

Add Comment

Please log in to a validated account to post comments.