Inheritance: System.Windows.DependencyObject
        public ManagementDashboardViewModel()
        {
            Sheets = new Sheets() { UriBase = "Pages", Default = "Statistics" };
            Sheets["Statistics"] = "StatisticsPage";
            Sheets.GoToDefault();

            Populate();
        }
 public DashboardViewModel()
 {
     Sheets = new Sheets() { UriBase = "Pages", Default = "Dashboard" };
     Sheets["Administration"] = "AdministrationPage";
     Sheets["Dashboard"] = "DashboardPage";
     Sheets["Inspect"] = "InspectPage";
     Sheets.GoToDefault();
 }
Exemple #3
0
        public Sheet(Sheets parent, Uri uri)
        {
            if (parent == null)
                throw new ArgumentNullException("parent");
            else if (uri == null)
                throw new ArgumentNullException("uri");

            _parent = parent;
            _uri = uri;
        }