Пример #1
0
        public MenuSubItem(string iconName, string href, string displayName, MenuSubItem menuSubItem)
        {
            SubItems = new List <MenuSubItem>();

            if (href == "")
            {
                this.Href = "javascript:void(0);";
            }
            else
            {
                this.Href = href;
            }

            this.IconName    = iconName;
            this.DisplayName = displayName;

            addMenuSubItem(menuSubItem);
        }
Пример #2
0
        public MenuSubItem(string iconName, string href, string displayName, MenuSubItem menuSubItem)
        {
            SubItems = new List<MenuSubItem>();

            if (href == "")
            {
                this.Href = "javascript:void(0);";
            }
            else
            {
                this.Href = href;
            }

            this.IconName = iconName;
            this.DisplayName = displayName;

            addMenuSubItem(menuSubItem);
        }
Пример #3
0
 public void addMenuSubItem(MenuSubItem msi)
 {
     subItems.Add(msi);
 }
Пример #4
0
 public void addMenuSubItem(MenuSubItem msi)
 {
     subItems.Add(msi);
 }