-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
50 lines (45 loc) · 1.94 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
49
50
<?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="BorderThickness.MainPage">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="25">
<Image
Source="dotnet_bot.png"
HeightRequest="185"
Aspect="AspectFit"
SemanticProperties.Description="dot net bot in a race car number eight" />
<VerticalStackLayout Grid.Column="1"
Spacing="0">
<Border StrokeThickness="0"
Margin="5,5,5,0"
Padding="0">
<Border.StrokeShape>
<RoundRectangle CornerRadius="3,3,0,0" />
</Border.StrokeShape>
<Label BackgroundColor="{StaticResource Secondary}"
HeightRequest="30"
HorizontalOptions="Fill" />
</Border>
<Border StrokeThickness="0"
Margin="5,0,5,5"
Padding="0">
<Border.StrokeShape>
<RoundRectangle CornerRadius="0,0,0,0" />
</Border.StrokeShape>
<Label BackgroundColor="{StaticResource Tertiary}"
HeightRequest="30"
HorizontalOptions="Fill" />
</Border>
</VerticalStackLayout>
<Button
x:Name="CounterBtn"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Fill" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>