/// <summary> /// Standard <seealso cref="TreeItemViewModel"/> constructor /// </summary> protected TreeItemViewModel() : base() { _IsExpanded = _IsSelected = false; _Model = null; // Add dummy folder by default to make tree view show expander by default _Folders = new SortableObservableDictionaryCollection(); }
/// <summary> /// Standard class constructor /// </summary> public BrowserViewModel() { DisplayMessage = new DisplayMessageViewModel(); BookmarkFolder = new EditFolderBookmarks(); InitializeSpecialFolders(); _OpenInWindowsCommand = null; _CopyPathCommand = null; _Root = new SortableObservableDictionaryCollection(); InitialPath = string.Empty; _UpdateView = true; _IsBrowseViewEnabled = true; _IsBrowsing = true; _IsExternallyBrowsing = false; }