ShellTreeListBox navigate to a initial path?

Shell for WPF Forum

Posted 3 months 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 3 months 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 3 months ago by rex hui
Avatar

Loaded won't work, works for ContentRendered.

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

Add Comment

Please log in to a validated account to post comments.