-
-
Save hatsunea/cfba3cd7eb2624b4af920a2c6a6462da to your computer and use it in GitHub Desktop.
MauiAuthApp.Views.MainPage.xaml
This file contains hidden or 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="MauiAuthApp.Views.MainPage" | |
| xmlns:local="clr-namespace:MauiAuthApp" | |
| BindingContext="{Binding ViewModel,Source={RelativeSource Mode=Self}}"> | |
| <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="{Binding Message}" | |
| Style="{StaticResource SubHeadline}" | |
| SemanticProperties.HeadingLevel="Level2" | |
| SemanticProperties.Description="Welcome to dot net Multi platform App U I" /> | |
| <Button | |
| Text="{Binding CounterText}" | |
| SemanticProperties.Hint="Counts the number of times you click" | |
| Command="{Binding ClickMeCommand}" | |
| HorizontalOptions="Fill" /> | |
| </VerticalStackLayout> | |
| </ScrollView> | |
| </ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment