void LoadPageNavInstanceToProperty() { if (!PageNavInstance) { PageNavInstance = PageNav.GetPageNavInstance(); } }
public void CloseSuccessPopup() { _success = false; PageNav.GetPageNavInstance().SetSuccessVisibility(false); }
public void CloseErrorPopup() { _error = false; PageNav.GetPageNavInstance().SetErrorVisibility(false); }
public void OpenSuccessPopup() { _success = true; PageNav.GetPageNavInstance().SetSuccessVisibility(true); }
public void OpenErrorPopup(string message = "") { _error = true; PageNav.GetPageNavInstance().SetErrorVisibility(true, message); }
/// <summary> /// Pushses a page to the stack with arguments. /// </summary> /// <param name="pageArgsHolder">Page arguments holder.</param> public void PushPageToStackWithArgs(PageArgs pageArgsHolder) { PageNav.GetPageNavInstance().PushPageToStackWithArgs(pageArgsHolder.PageToCreate, pageArgsHolder.DictionaryArgs); }
/// <summary> /// Pushses a page to the stack with arguments. /// </summary> /// <param name="pageEnum">Page enum.</param> /// <param name="args">Arguments.</param> public void PushPageToStackWithArgs(PagesEnum pageEnum, Dictionary <string, object> args) { PageNav.GetPageNavInstance().PushPageToStackWithArgs(pageEnum, args); }