ShellTreeListBox navigate to a initial path?

Shell for WPF Forum

Posted 5 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 5 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 5 years ago by rex hui
Avatar

Loaded won't work, works for ContentRendered.

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

Add Comment

Please log in to a validated account to post comments.