In order to achieve the desire effect you can call ExpandAll() method in the constructor in the MainPage constructor then you can call BringPathIntoView() method in the event handler of the TreeView Loaded event.
myTreeView.Loaded += myTreeView_Loaded;
private void myTreeView_Loaded(object sender, RoutedEventArgs e)
// example path
string path = "0\\0.3\\0.3.0\\0.3.0.1";
Dispatcher.BeginInvoke(new Action(() =>
To make this work properly you will need to call the BringPathIntoView() method into a Dispatcher with its DispatcherPriority set to Background.
If this solution is not the answer you are looking for don't hesitate to contact us.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items