Set Path of ShellTreeView
Frage / Problem
Is there a way to set the root path that the ShellTreeView displays?
Antwort / Lösung
You can either set a special windows folder by setting the RootedAt property:
shellTreeView1.RootedAt = Jam.Shell.ShellFolder.Desktop;
Or at your option, you can specify a system path the ShellTreeView component will display:
shellTreeView1.RootedAtFileSystemFolder = @"c:\windows";
Setting more than one root node is possible using the AddRoot method. See example in the API documentation.