<Page x:Class="XFEToolBox.Views.Pages.Popups.NormalDialogPopupPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:viewmodel="clr-namespace:XFEToolBox.ViewModel.Pages.Popups"
xmlns:ctr="clr-namespace:XFEToolBox.Views.Controls"
xmlns:local="clr-namespace:XFEToolBox.Views.Pages.Popups"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Title="NormalDialogPopupPage"
d:DataContext="{d:DesignInstance Type=viewmodel:NormalDialogPopupPageViewModel}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="{Binding ConfirmGridLength}"/>
<ColumnDefinition Width="{Binding YesGridLength}"/>
<ColumnDefinition Width="{Binding NoGridLength}"/>
<ColumnDefinition Width="{Binding CancelGridLength}"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Frame Grid.ColumnSpan="4" Content="{Binding Content}" NavigationUIVisibility="Hidden"/>
<ctr:RoundButton Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" Command="{Binding ConfirmCommand}">
<TextBlock Text="{Binding ConfirmText}" Foreground="#9898e7" Margin="16,8"/>
</ctr:RoundButton>
<ctr:RoundButton Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" Command="{Binding YesCommand}">
<TextBlock Text="{Binding YesText}" Foreground="#9898e7" Margin="16,8"/>
</ctr:RoundButton>
<ctr:RoundButton Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Command="{Binding NoCommand}">
<TextBlock Text="{Binding NoText}" Foreground="#9898e7" Margin="16,8"/>
</ctr:RoundButton>
<ctr:RoundButton Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center" Command="{Binding CancelCommand}">
<TextBlock Text="{Binding CancelText}" Foreground="#9898e7" Margin="16,8"/>
</ctr:RoundButton>
</Grid>
</Page>