<?xml version="1.0" encoding="utf-8" ?>
<ContentView
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:viewModels="clr-namespace:GreadyPoang.ViewModelLayer;assembly=GreadyPoang.ViewModelLayer"
    x:Class="GreadyPoang.Popups.InfoPopup"
    HorizontalOptions="Center"
    VerticalOptions="Center"
    Padding="0"
    x:DataType="viewModels:InfoPopupViewModel"
    BackgroundColor="Transparent">
    <VerticalStackLayout BackgroundColor="Aquamarine" Padding="5" Margin="0">
        <Label HorizontalOptions="Center" TextColor="BlueViolet" Text="{Binding Title}" Style="{StaticResource Headline}" />
        <Label HorizontalOptions="Center"  Text="{Binding Name}" Style="{StaticResource SubHeadline}"/>
        <Label HorizontalOptions="Center"  Text="{Binding Message}" Style="{StaticResource StatusLabelStyle}"/>
        <!--<Label Text="What is your name?" />
        <Entry Text="{Binding Name}" />

        <Button Text="Save" Command="{Binding SaveCommand}" />-->
        <Button  Margin="10" Text="Cancel" Command="{Binding CancelCommand}" Style="{StaticResource HoverButtonBlueStyle}" />
    </VerticalStackLayout>
</ContentView>
