<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="CafeTerrace.Views.DialogBox.SuccessBuyDialogBox"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:d="http://xamarin.com/schemas/2014/forms/design"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:models="clr-namespace:CafeTerrace.Models;assembly=CafeTerrace"
    Margin="50,0"
    FlowDirection="RightToLeft"
    VerticalOptions="Center"
    mc:Ignorable="d">
    <ContentView.Content>
        <StackLayout>
            <Frame CornerRadius="10">
                <StackLayout>
                    <Label
                        FontFamily="{StaticResource MaterialFontFamily}"
                        FontSize="120"
                        HorizontalOptions="Center"
                        Text="{x:Static models:MaterialIconFont.CheckCircle}"
                        TextColor="#27ae60"
                        VerticalOptions="Center" />
                    <Label
                        FontFamily="{StaticResource ShabnameBold}"
                        FontSize="16"
                        HorizontalOptions="Center"
                        HorizontalTextAlignment="Center"
                        Text=" خرید شما با موفقیت ثبت شد به زودی خرید شما توسط صندوق تایید خواهد شد و به شما اطلاع داده خواهد شد"
                        TextColor="Accent"
                        VerticalOptions="Center" />
                </StackLayout>
            </Frame>
            <!--<Frame CornerRadius="8">
                <Grid HorizontalOptions="Center">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <Label
                        Margin="0,0,0,10"
                        FontFamily="{StaticResource ShabnameBold}"
                        FontSize="16"
                        HorizontalOptions="Center"
                        HorizontalTextAlignment="Center"
                        Text="مدت زمان اماده شدن سفارش شما" />
                    <Grid Grid.Row="1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Frame
                            Padding="12,15"
                            BackgroundColor="Accent"
                            CornerRadius="5"
                            HorizontalOptions="Center"
                            VerticalOptions="Center"
                            WidthRequest="30">
                            <Label
                                FontFamily="{StaticResource ShabnameBold}"
                                FontSize="20"
                                HorizontalOptions="Center"
                                Text="{Binding Path=YekanSec}"
                                TextColor="{StaticResource PrimaryColor}" />
                        </Frame>
                        <Frame
                            Grid.Column="1"
                            Padding="12,15"
                            BackgroundColor="Accent"
                            CornerRadius="5"
                            HorizontalOptions="Center"
                            VerticalOptions="Center"
                            WidthRequest="30">
                            <Label
                                FontFamily="{StaticResource ShabnameBold}"
                                FontSize="20"
                                HorizontalOptions="Center"
                                Text="{Binding Path=DahganSec}"
                                TextColor="{StaticResource PrimaryColor}" />
                        </Frame>
                        <Label
                            Grid.Column="2"
                            FontFamily="{StaticResource ShabnameBold}"
                            FontSize="35"
                            HorizontalOptions="Center"
                            Text=":"
                            TextColor="Accent" />

                        <Frame
                            Grid.Column="3"
                            Padding="12,15"
                            BackgroundColor="Accent"
                            CornerRadius="5"
                            HorizontalOptions="Center"
                            VerticalOptions="Center"
                            WidthRequest="30">
                            <Label
                                FontFamily="{StaticResource ShabnameBold}"
                                FontSize="20"
                                HorizontalOptions="Center"
                                Text="{Binding Path=YekanMin}"
                                TextColor="{StaticResource PrimaryColor}" />
                        </Frame>
                        <Frame
                            Grid.Column="4"
                            Padding="12,15"
                            BackgroundColor="Accent"
                            CornerRadius="5"
                            HorizontalOptions="Center"
                            VerticalOptions="Center"
                            WidthRequest="30">
                            <Label
                                FontFamily="{StaticResource ShabnameBold}"
                                FontSize="20"
                                HorizontalOptions="Center"
                                Text="{Binding Path=DahganMin}"
                                TextColor="{StaticResource PrimaryColor}" />
                        </Frame>
                    </Grid>
                </Grid>
            </Frame>-->
        </StackLayout>
    </ContentView.Content>
</ContentView>