public void Remove(CommandBarItem item) { if (this.items.Contains(item)) { this.items.Remove(item); if (this.commandBar != null) { this.commandBar.RemoveItem(item); } } }