예제 #1
0
 /// <summary>
 /// Finalizes the DocumentsViewModel initialization and opens the default document.
 /// Since DocumentsViewModel is a POCO view model, an instance of this class will also expose the OnLoadedCommand property that can be used as a binding source in views.
 /// </summary>
 public virtual void OnLoaded(TModule module)
 {
     IsLoaded = true;
     DocumentManagerService.ActiveDocumentChanged += OnActiveDocumentChanged;
     if (!RestoreLogicalLayout())
     {
         Show(module);
     }
     PersistentLayoutHelper.TryDeserializeLayout(LayoutSerializationService, ViewLayoutName);
 }
예제 #2
0
 public virtual void OnLoaded()
 {
     isLoaded = true;
     PersistentLayoutHelper.TryDeserializeLayout(LayoutSerializationService, ViewName);
 }
예제 #3
0
 public void OnLoaded()
 {
     PersistentLayoutHelper.TryDeserializeLayout(LayoutSerializationService, ViewName);
 }