forked from Knexxxx/MAUI_CustomEntry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
33 lines (27 loc) · 968 Bytes
/
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
<?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"
xmlns:local="clr-namespace:ExtendedDataEntry"
x:Class="ExtendedDataEntry.MainPage">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="25">
<Image
Source="dotnet_bot.png"
HeightRequest="185"
Aspect="AspectFit"
SemanticProperties.Description="dot net bot in a hovercraft number nine" />
<Label
Text="Extended DataEntry"
Style="{StaticResource Headline}"
SemanticProperties.HeadingLevel="Level1" />
<Entry Text="This is a basic entry" />
<BoxView HeightRequest="80" BackgroundColor="Transparent" />
<BoxView HeightRequest="2" BackgroundColor="White" />
<Label Text="And here is a custom entry:" />
<local:DataEntry InitialMaxChar="4"/>
</VerticalStackLayout>
</ScrollView>
</ContentPage>