-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
48 lines (41 loc) · 1.72 KB
/
MainPage.xaml
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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="NavPageDemo.MainPage">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="25">
<Label
Text="NavigationPage Demo!" FontFamily="OpenSans_Semibold"
SemanticProperties.HeadingLevel="Level1"
FontSize="32" HorizontalTextAlignment="Center"
HorizontalOptions="Center" FontAttributes="Bold"/>
<Label
Text="Another .NET MAUI Lesson by Balram Patel"
FontFamily="OpenSans_Semibold"
SemanticProperties.HeadingLevel="Level2"
SemanticProperties.Description="Another .NET MAUI Lesson by Balram Patel"
FontSize="14" HorizontalTextAlignment="Center"
HorizontalOptions="Center"/>
<Button
x:Name="btnGoRed" BackgroundColor="PaleVioletRed"
Text="Go to Red Page"
SemanticProperties.Hint="Navigation To The Red Page"
Clicked="GoRed"
HorizontalOptions="Center" />
<Button
x:Name="btnGoGreen" BackgroundColor="LightGreen"
Text="Go to Green Page"
SemanticProperties.Hint="Navigation To The Green Page"
Clicked="GoGreen"
HorizontalOptions="Center" />
<Button
x:Name="btnGoBlue" BackgroundColor="LightSkyBlue"
Text="Go to Blue Page"
SemanticProperties.Hint="Navigation To The Blue Page"
Clicked="GoBlue"
HorizontalOptions="Center" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>