public void RemovePane(Pane pane) { if(!paneButtons.ContainsKey(pane)) return; var tabButton = paneButtons[pane]; RemovePage(tabButton); }
public async Task AddPane(Pane pane) { }
public void AddPane(Pane pane) { var tabButton = AddPage(pane.Title, pane.CreateControl(this)); paneButtons.Add(pane,tabButton); }