/// <summary> /// Removes an item from the Tabs collection. /// </summary> /// <param name="tabItem">The tab item.</param> public void RemoveItem(TabViewModel tabItem) { this.Tabs.Remove(tabItem); tabItem.Dispose(); }
/// <summary> /// Removes an item from the Tabs collection. /// </summary> /// <param name="tabItem">The tab item.</param> public void RemoveItem(TabViewModel tabItem) { this.Tabs.Remove(tabItem); tabItem.Dispose(); }