-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPresentationControls.xaml
106 lines (89 loc) · 3.79 KB
/
PresentationControls.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?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="MauiControls.PresentationControls"
Title="PresentationControls">
<ScrollView>
<StackLayout>
<!-- The BoxView Control can be used to separate stuff on the screen, giving backgrounds to each section-->
<BoxView Color="Firebrick"
HeightRequest="120"/>
<!-- The Label Control is used to display text-->
<Label
Text="This is a Label Control!"
TextColor="Black"
FontAttributes="Bold"
FontSize="Medium"
VerticalOptions="Center"
HorizontalOptions="Center" />
<!-- The Ellipse Control is used to draw geometric shapes on the UI. This one draws an ellipse. It can be used for user profile (pictures) or to represent data desired in an ellipse-->
<Ellipse Fill="Firebrick"
Stroke="cadetblue"
StrokeThickness="6"
HeightRequest="230"
HorizontalOptions="Center"
WidthRequest="230"/>
<Line Stroke="cadetblue"
X1="10"
Y1="1"
X2="200"
Y2="100"
StrokeThickness="8"
HorizontalOptions="Center"/>
<Rectangle Fill="firebrick"
Stroke="cadetblue"
StrokeThickness="6"
HeightRequest="50"
WidthRequest="190"
HorizontalOptions="Center"
RadiusX="60"
RadiusY="6"/>
<Polygon Fill="cadetblue"
Stroke="firebrick"
StrokeThickness="6"
Points="50,10 90,80 10,80"
HorizontalOptions="Center"/>
<Polygon Fill="firebrick"
Stroke="cadetblue"
HorizontalOptions="Center"
StrokeThickness="6"
StrokeDashArray="1,1"
StrokeDashOffset="6"
Points="50,10 90,80 10,80"/>
<Polyline Points="0,0 10,60, 15,20 80,5 80,50"
Stroke="firebrick"
HorizontalOptions="Center"/>
<Polyline Fill="cadetblue"
Stroke="firebrick"
StrokeThickness="2"
HorizontalOptions="Center"
Points="0,16 45,30 80,10 80,10 30,16 45,30 90,10 40,10"/>
<Path Aspect="Uniform"
HorizontalOptions="Center"
Stroke="cadetblue"
StrokeThickness="6"
Data="M 10,100 L 100,100 100,50Z"/>
<Border Stroke="firebrick"
StrokeThickness="3"
Background="cadetblue"
Padding="15,10"
HorizontalOptions="Center">
<Border.StrokeShape>
<RoundRectangle CornerRadius="40,0,0,40"/>
</Border.StrokeShape>
<Label Text="Label Control enclosed in Border Control"
FontAttributes="Bold"
FontSize="Medium"
VerticalOptions="Center"
HorizontalOptions="Center"/>
</Border>
<Frame BackgroundColor="Aquamarine"
Margin="7"
Padding="18">
<Image Source="dotnet_bot.svg"/>
</Frame>
<WebView HeightRequest="500"
Source="https://academia.elcamino.dev"/>
</StackLayout>
</ScrollView>
</ContentPage>