예제 #1
0
        ListBoxItem GetSubMenuItem(string resourceKey, string screenNamespace)
        {
            var subMenu = new ListBoxItem();

            subMenu.SetResourceReference(ContentProperty, resourceKey);
            subMenu.Width = 250;
            subMenu.Tag = screenNamespace;

            return subMenu;
        }