Exemplo n.º 1
0
 /// <summary>
 /// Goes to the given page in the tab menu's stack.
 /// Closes any other pages above it in the stack.
 /// The given page must already be in the stack.
 /// </summary>
 /// <param name="uiPage">The page to open</param>
 public void GoBackToMenu(UIPage uiPage) => UiManager.GoBackToMenu(this.uiPage, uiPage);
Exemplo n.º 2
0
 /// <summary>
 /// Removes the given sub menu from the tab menu's stack.
 /// </summary>
 /// <param name="uiPage">The page to remove</param>
 /// <returns>The page that was removed</returns>
 public UIPage RemovePageFromStack(UIPage uiPage) => UiManager.RemovePageFromStack(this.uiPage, uiPage);
Exemplo n.º 3
0
 /// <summary>
 /// Returns the most recently open menu of the tab menu.
 /// </summary>
 /// <returns>The most recently open menu of the tab menu</returns>
 public UIPage CurrentPage() => UiManager.CurrentPage(uiPage);
Exemplo n.º 4
0
 /// <summary>
 /// Closes the most recently open sub menu of the tab menu.
 /// </summary>
 public void PopSubMenu() => UiManager.PopSubMenu(uiPage);
Exemplo n.º 5
0
 /// <summary>
 /// Closes all sub menus of the tab menu.
 /// </summary>
 public void CloseAllSubMenus() => UiManager.CloseAllSubMenus(uiPage);
Exemplo n.º 6
0
 /// <summary>
 /// Opens a the specified menu as a sub menu of the tab menu.
 /// </summary>
 /// <param name="uiPage">The page to open</param>
 public void OpenSubMenu(UIPage uiPage) => UiManager.OpenSubMenu(this.uiPage, uiPage);