Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Setting the root location to an arbitrary location
posted

Hi

I wish to set the RootLocation item's Text property to a folder which is not at the top of a hierarchy.

E.g.

UltraNavigationBarLocation rootLocation = navBar.RootLocation;

rootLocation.Text = @"C:\MyApp\Workspace";

 

The problem is that I get an exception due to path separators within the string.

I'm sure it's something trivial, but I can't find anything in the documentation regarding this.

Thanks David

Parents Reply Children