예제 #1
0
 private static MainMenuItem GenerateSettingsItem()
 {
     return(new MainMenuItem()
     {
         Title = "Settings",
         Page = new SettingsPage(),
         IconImageSource = ImageSourceHelper.GenerateFontImageSource("FontAwesomeSolid", ""),
     });
 }
예제 #2
0
 private static List <MainMenuItem> GenerateMenuItems()
 {
     return(new List <MainMenuItem>()
     {
         new MainMenuItem()
         {
             Title = "Uploads",
             Page = new UploadPage(),
             IconImageSource = ImageSourceHelper.GenerateFontImageSource("FontAwesomeSolid", ""),
         },
         new MainMenuItem()
         {
             Title = "Gallery",
             Page = new ImageGalleryPage(),
             IconImageSource = ImageSourceHelper.GenerateFontImageSource("FontAwesomeSolid", ""),
         },
     });
 }