Пример #1
0
        void InitializeMenu()
        {
            mnuMain.Items.Clear();



            var items = bootstrapper.GetMainMenuItems();

            foreach (var item in items)
            {
                mnuMain.Items.Add(item);
            }

            //dummy
            //mnuMain.Items.Add(new MenuItem { Header = "DASHBOARD" });

            HandleMenuItemsEvents();
            (mnuMain.Items[0] as MenuItem).IsChecked = true;
        }