public void NotifySelected(TreeItem item) { if (this.autoExpandCheckBox.IsChecked == true) { item.IsExpanded = true; } this.Invoke($"cd {ShellConstants.DriveName}:\\{item.NodePath()}", showPrompt: this.isSettingLocationFromLocationProvider == false); }