<Window
    x:Class="MECF.Framework.UI.Client.ClientBase.Dialog.LoginRequestConfirmationDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="Login Request Confirmation"
    Width="400"
    Height="220"
    d:Background="White"
    Closing="Window_Closing"
    ResizeMode="NoResize"
    WindowStartupLocation="CenterScreen"
    mc:Ignorable="d">
    <!--<WindowChrome.WindowChrome>
        <WindowChrome ResizeBorderThickness="0" CaptionHeight="0"/>
    </WindowChrome.WindowChrome>
    <Window.Effect>
        <DropShadowEffect Color="Gray" BlurRadius="10" Direction="-90" RenderingBias="Quality" ShadowDepth="4"/>
    </Window.Effect>-->
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="5" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Border Background="{StaticResource Color_BG_TopStrip}" />

        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
                <RowDefinition />
                <RowDefinition Height="70" />
            </Grid.RowDefinitions>
            <TextBlock
                HorizontalAlignment="Center"
                VerticalAlignment="Center"
                FontSize="24"
                Text="Login Request" />
            <StackPanel
                Grid.Row="1"
                Margin="20,0"
                HorizontalAlignment="Center">
                <TextBlock
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    FontSize="14"
                    Text="{Binding Description, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}"
                    TextWrapping="Wrap" />
            </StackPanel>
            <StackPanel
                Grid.Row="2"
                HorizontalAlignment="Center"
                Orientation="Horizontal">
                <Button
                    x:Name="BtnAccept"
                    Width="120"
                    Height="30"
                    Margin="0,0,5,0"
                    VerticalAlignment="Center"
                    Click="BtnAccept_Click"
                    Content="Accept" />
                <Button
                    x:Name="BtnRejected"
                    Width="120"
                    Height="30"
                    Margin="5,0,0,0"
                    VerticalAlignment="Center"
                    Click="BtnRejected_Click"
                    Content="Reject"
                    IsCancel="True"
                    IsDefault="True" />
            </StackPanel>
        </Grid>
    </Grid>
</Window>
