Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
6002CEM-COUSEWORK-frontend/MainPage.xaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
41 lines (34 sloc)
1.37 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="CouseWork.MainPage"> | |
<ScrollView> | |
<VerticalStackLayout | |
Spacing="25" | |
Padding="30,0" | |
VerticalOptions="Center"> | |
<Image | |
Source="dotnet_bot.png" | |
SemanticProperties.Description="Cute dot net bot waving hi to you!" | |
HeightRequest="200" | |
HorizontalOptions="Center" /> | |
<Label | |
Text="Hello, World!" | |
SemanticProperties.HeadingLevel="Level1" | |
FontSize="32" | |
HorizontalOptions="Center" /> | |
<Label | |
Text="Welcome to .NET Multi-platform App UI" | |
SemanticProperties.HeadingLevel="Level2" | |
SemanticProperties.Description="Welcome to dot net Multi platform App U I" | |
FontSize="18" | |
HorizontalOptions="Center" /> | |
<Button | |
x:Name="CounterBtn" | |
Text="Click me" | |
SemanticProperties.Hint="Counts the number of times you click" | |
Clicked="OnCounterClicked" | |
HorizontalOptions="Center" /> | |
</VerticalStackLayout> | |
</ScrollView> | |
</ContentPage> |