-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml
More file actions
73 lines (66 loc) · 2.42 KB
/
Copy pathMainPage.xaml
File metadata and controls
73 lines (66 loc) · 2.42 KB
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
<?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="iOS_Picker_Bug.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" />
<Label
Text="Hello, World!"
Style="{StaticResource Headline}"
SemanticProperties.HeadingLevel="Level1" />
<Label
Text="Welcome to .NET Multi-platform App UI"
Style="{StaticResource SubHeadline}"
SemanticProperties.HeadingLevel="Level2"
SemanticProperties.Description="Welcome to dot net Multi platform App U I" />
<Button
x:Name="CounterBtn"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Fill" />
<Picker x:Name="picker" Grid.Column="1" VerticalOptions="Center" HorizontalOptions="Center" HorizontalTextAlignment="Center" Title="Short">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Short</x:String>
<x:String>TEST</x:String>
<x:String>ACL</x:String>
<x:String>Long String</x:String>
<x:String>Even Longer String</x:String>
<x:String>Howler Monkey</x:String>
<x:String>Japanese Macaque</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<Grid ColumnDefinitions="auto,*">
<Label Text="Test"
x:Name="Name"
Grid.Column="0"
FontAttributes="Bold"
FontSize="18"
TextColor="Black"
VerticalOptions="Center"/>
<Picker x:Name="picker2" Grid.Column="1" VerticalOptions="Center" HorizontalOptions="Center" HorizontalTextAlignment="Center" Title="Short">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Short</x:String>
<x:String>TEST</x:String>
<x:String>ACL</x:String>
<x:String>Long String</x:String>
<x:String>Even Longer String</x:String>
<x:String>Howler Monkey</x:String>
<x:String>Japanese Macaque</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
</Grid>
</VerticalStackLayout>
</ScrollView>
</ContentPage>