NavigationTreeViewModel CreateNavigationTree(PROJECT entity, string moduleTitle, bool createTree) { if (!createTree) { return(null); } else { return(NavigationTreeViewModel.Create(createPROJECTTree(entity), moduleTitle, this)); } }
protected BluePrintsEntitiesModuleDescription(string title, string documentType, string group, NavigationTreeViewModel navigationTreeViewModel, object documentParameter = null, TreeViewProperty treeViewProperty = null) : base(title, documentType, group, null, documentParameter, treeViewProperty) { NavigationTreeViewModel = navigationTreeViewModel; }
public static BluePrintsEntitiesModuleDescription Create(string title, string documentType, string group, NavigationTreeViewModel navigationTreeViewModel, object documentParameter = null, TreeViewProperty treeViewProperty = null) { return(ViewModelSource.Create(() => new BluePrintsEntitiesModuleDescription(title, documentType, group, navigationTreeViewModel, documentParameter, treeViewProperty))); }