<?xml version="1.0" encoding="utf-8" ?>

<toolkit:Popup 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"
               xmlns:popups="clr-namespace:WorkFlowCheck.MAUI.Pages.System"
               x:Class="WorkFlowCheck.MAUI.Pages.System.InputPopup">

    <toolkit:Popup.Resources>
        <Style TargetType="{x:Type popups:InputPopup}">
            <Setter Property="Size" Value="400,150" />
            <Setter Property="HorizontalOptions" Value="Center" />
            <Setter Property="VerticalOptions" Value="Start" />
            <Setter Property="CanBeDismissedByTappingOutsideOfPopup" Value="True" />
        </Style>
    </toolkit:Popup.Resources>
    <VerticalStackLayout Padding="20" Spacing="10">
        <Label x:Name="UserConfirmationLabel" />
        <Entry x:Name="UserInputEntry" />
        <HorizontalStackLayout HorizontalOptions="End" Spacing="10">
            <Button Text="Mégsem" Clicked="OnCancelClicked" />
            <Button Text="Megerősít" Clicked="OnOkClicked" />
        </HorizontalStackLayout>
    </VerticalStackLayout>

</toolkit:Popup>