Beispiel #1
0
 /// <summary>
 /// Registers a UI view for later access.
 /// </summary>
 /// <param name="page">The AppPage object representing the UI view.</param>
 public static void Register(AppPage page)
 {
     _pages.Add(page);
 }
 /// <summary>
 /// Changes the view to another page.
 /// </summary>
 /// <param name="page">The AppPage object to change the view to.</param>
 public void ChangeScreen(AppPage page)
 {
     ViewContainer.Content = page.Page;
 }
Beispiel #3
0
 /// <summary>
 /// Changes the view to another page.
 /// </summary>
 /// <param name="page">The AppPage object to change the view to.</param>
 public void ChangeScreen(AppPage page)
 {
     ViewContainer.Content = page.Page;
 }
Beispiel #4
0
 /// <summary>
 /// Registers a UI view for later access.
 /// </summary>
 /// <param name="page">The AppPage object representing the UI view.</param>
 public static void Register(AppPage page)
 {
     _pages.Add(page);
 }