Initial commit.
This commit is contained in:
29
Wino.Mail/Dialogs/ConfirmationDialog.xaml
Normal file
29
Wino.Mail/Dialogs/ConfirmationDialog.xaml
Normal file
@@ -0,0 +1,29 @@
|
||||
<ContentDialog
|
||||
x:Class="Wino.Dialogs.ConfirmationDialog"
|
||||
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"
|
||||
xmlns:domain="using:Wino.Core.Domain"
|
||||
Title="{x:Bind DialogTitle, Mode=OneWay}"
|
||||
|
||||
Style="{StaticResource WinoDialogStyle}"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
VerticalContentAlignment="Stretch"
|
||||
Closed="DialogClosed"
|
||||
PrimaryButtonText="{x:Bind ApproveButtonTitle, Mode=OneWay}"
|
||||
DefaultButton="Primary"
|
||||
SecondaryButtonText="{x:Bind domain:Translator.Buttons_Cancel}"
|
||||
PrimaryButtonClick="ApproveClicked"
|
||||
SecondaryButtonClick="CancelClicked"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<ContentDialog.Resources>
|
||||
<x:Double x:Key="ContentDialogMinWidth">250</x:Double>
|
||||
<x:Double x:Key="ContentDialogMaxWidth">500</x:Double>
|
||||
<x:Double x:Key="ContentDialogMinHeight">200</x:Double>
|
||||
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double>
|
||||
</ContentDialog.Resources>
|
||||
|
||||
<TextBlock Text="{x:Bind Message, Mode=OneWay}" TextWrapping="Wrap" />
|
||||
</ContentDialog>
|
||||
Reference in New Issue
Block a user