public void ActivateTab(INotebookTab notebookTab) { if (IndexOf(notebookTab) != -1) { ActiveTab = notebookTab; } }
public void Remove(INotebookTab widget) { var idx = IndexOf(widget); if (idx == -1) { throw new ArgumentException(); } RemoveImpl(idx); }
public void CloseTab(INotebookTab notebookTab) { Remove(notebookTab); }
public void Add(INotebookTab widget, int index, bool pinned = false) { AddImpl(widget, index, pinned); }
public void Add(INotebookTab widget, bool pinned = false) { AddImpl(widget, Count, pinned); }