示例#1
0
 //NavBarControl navBar;
 //public NavItemCollection(NavBarControl navBar)
 //{
 //    this.navBar = navBar;
 //}
 //protected NavBarControl NavBar { get { return navBar; } }
 public NavBarItem Add(NavBarItem item)
 {
     //if (item.NavBar == null) item.SetNavBarCore(NavBar);
     return AddItem(item) as NavBarItem;
 }
示例#2
0
 public virtual void AddRange(NavBarItem[] items)
 {
     foreach (NavBarItem item in items) AddItem(item);
 }
示例#3
0
 //NavBarControl navBar;
 //public NavItemCollection(NavBarControl navBar)
 //{
 //    this.navBar = navBar;
 //}
 //protected NavBarControl NavBar { get { return navBar; } }
 public NavBarItem Add(NavBarItem item)
 {
     //if (item.NavBar == null) item.SetNavBarCore(NavBar);
     return(AddItem(item) as NavBarItem);
 }