<ContentDialog
    x:Class="Wino.Dialogs.CreateAccountAliasDialog"
    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:domain="using:Wino.Core.Domain"
    xmlns:local="using:Wino.Dialogs"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="{x:Bind domain:Translator.CreateAccountAliasDialog_Title}"
    DefaultButton="Primary"
    PrimaryButtonClick="CreateClicked"
    PrimaryButtonText="{x:Bind domain:Translator.Buttons_Create}"
    SecondaryButtonText="{x:Bind domain:Translator.Buttons_Cancel}"
    Style="{StaticResource WinoDialogStyle}"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Style="{ThemeResource BodyTextBlockStyle}" Text="{x:Bind domain:Translator.CreateAccountAliasDialog_Description}" />

        <StackPanel
            Grid.Row="1"
            Margin="0,16"
            Spacing="12">
            <TextBox
                x:Name="AliasTextBox"
                Header="{x:Bind domain:Translator.CreateAccountAliasDialog_AliasAddress}"
                PlaceholderText="{x:Bind domain:Translator.CreateAccountAliasDialog_AliasAddressPlaceholder}" />

            <TextBox
                x:Name="ReplyToTextBox"
                Header="{x:Bind domain:Translator.CreateAccountAliasDialog_ReplyToAddress}"
                PlaceholderText="{x:Bind domain:Translator.CreateAccountAliasDialog_ReplyToAddressPlaceholder}" />
        </StackPanel>
    </Grid>
</ContentDialog>
