Esempio n. 1
0
        /// <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();
        }
Esempio n. 2
0
        /// <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;
        }