public RecentFilesViewModel() : base("Recent Files") { ////Workspace.This.ActiveDocumentChanged += new EventHandler(OnActiveDocumentChanged); ContentId = ToolContentId; this.mMruList = new MRUListVM(); }
public RecentFilesViewModel() : base("Tool VIew - Left ") { ////Workspace.This.ActiveDocumentChanged += new EventHandler(OnActiveDocumentChanged); ContentId = ToolContentId; this.mMruList = new MRUListVM(); //part of issue no. 60(icon) -edited by reeden IconSource = ImageAwesome.CreateImageSource(FontAwesomeIcon.Home, Brushes.Black, 15);//bi; }
/// <summary> /// Class constructor /// </summary> public Profile() { // Set default session data this.MainWindowPosSz = new ViewPosSizeModel(100, 100, 1000, 700); this.IsWorkspaceAreaOptimized = false; this.LastActiveFile = string.Empty; // Construct MRUListVM ViewModel with parameter to decide whether pinned entries // are sorted into the first (pinned list) spot or not (favourites list) this.mMruList = new MRUListVM(MRUSortMethod.PinnedEntriesFirst); }
public ConfigViewModel() { this.DocumentZoomView = 100; this.ReloadOpenFilesOnAppStart = true; // Session Data this.MainWindowPosSz = new ViewPosSzViewModel(); this.MainWindowPosSz = new ViewPosSzViewModel(100, 100, 1000, 700); this.LastActiveFile = string.Empty; // Construct MRUListVM ViewModel with parameter to decide whether pinned entries // are sorted into the first (pinned list) spot or not (favourites list) this.mMruList = new MRUListVM(MRUSortMethod.PinnedEntriesFirst); }
/// <summary> /// Parameterized constructor /// </summary> public StartPageViewModel(MRUListVM recent) : this() { this.mRecent = recent; }
public RecentFilesViewModel(ISettingsManager settingsManager) : this() { this.mMruList = settingsManager.SessionData.MruList; }