public void Insert(int index, CommandBarItem item) { items.Insert(index, item); if (this.commandBar != null) { this.commandBar.AddItem(item); } }