forked from jesulink2514/Xamarin-Galleries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml.cs
53 lines (45 loc) · 1.48 KB
/
MainPage.xaml.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XamarinGalleries
{
// Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https://aka.ms/xamarinforms-previewer
[DesignTimeVisible(true)]
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
NavigationPage.SetBackButtonTitle(this, "Galleries");
}
void Handle_Clicked(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.TwoColumnsGallery(), true);
}
void Handle_Clicked_1(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.ThreeColumnsGallery(), true);
}
void Handle_Clicked_2(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.AutoHeightGallery(), true);
}
void Handle_Clicked_3(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.StandartGallery(), true);
}
void Handle_Clicked_4(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.VerticalGallery(), true);
}
void Handle_Clicked_5(object sender, System.EventArgs e)
{
Navigation.PushAsync(new Views.HorizontalGallery(), true);
}
}
}