-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
31 lines (26 loc) · 1.18 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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="shareapp.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
<ContentPage.Resources>
<ResourceDictionary>
<toolkit:ByteArrayToImageSourceConverter x:Key="ByteArrayToImageSourceConverter" />
</ResourceDictionary>
</ContentPage.Resources>
<ScrollView>
<VerticalStackLayout Padding="30,0" Spacing="25">
<Image Source="{Binding C_Image, Mode=OneWay, Converter={StaticResource ByteArrayToImageSourceConverter}}" />
<Label
x:Name="nameLabel"
SemanticProperties.HeadingLevel="Level1"
Style="{StaticResource Headline}" />
<Label
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
SemanticProperties.HeadingLevel="Level2"
Style="{StaticResource SubHeadline}"
Text="Welcome to .NET Multi-platform App UI" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>