public ICommandBar AddSubmenu(string displayName)
 {
     SubmenuCommandModel submenuCommandHoster = new SubmenuCommandModel(displayName);
     submenuCommandHoster.Content = displayName;
     _items.Add(submenuCommandHoster);
     return submenuCommandHoster;
 }
Exemplo n.º 2
0
        public ICommandBar AddSubmenu(string displayName)
        {
            SubmenuCommandModel submenuCommandHoster = new SubmenuCommandModel(displayName);

            submenuCommandHoster.Content = displayName;
            _items.Add(submenuCommandHoster);
            return(submenuCommandHoster);
        }