<?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="MauiMvvm.MainPage"
             Title="MVVM Example">
    <VerticalStackLayout Padding="24" Spacing="16">
        <Label Text="MVVM Greeting" FontSize="26"
               FontAttributes="Bold" />
        <Entry Placeholder="Your name"
               Text="{Binding Name, Mode=TwoWay}" />
        <Button Text="Update greeting"
                Command="{Binding GreetCommand}" />
        <Label Text="{Binding Greeting}" FontSize="20" />
    </VerticalStackLayout>
</ContentPage>
