<?xml version="1.0" encoding="utf-8"?>
<ContentDialog
    x:Class="Sonex.Client.Dialogs.CreateNewAccountDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Create new account"
    PrimaryButtonText="Create"
    PrimaryButtonClick="CreateNewAccountDialog_PrimaryButtonClick"
    PrimaryButtonStyle="{StaticResource AccentButtonStyle}"
    CloseButtonText="Cancel">

    <Grid RowSpacing="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <TextBox x:Name="_FirstName" Grid.Row="0" Header="First Name" PlaceholderText="First Name"/>
        <TextBox x:Name="_LastName" Grid.Row="1" Header="Last Name" PlaceholderText="Last Name"/>
        <TextBox x:Name="_AccountName" Grid.Row="2" Header="Account Name" PlaceholderText="Account Name"/>
        <PasswordBox x:Name="_Password" Grid.Row="3" Header="Password" PlaceholderText="Password"/>
        <TextBlock Width="250" x:Name="_Message" Grid.Row="4" Foreground="{StaticResource SystemControlErrorTextForegroundBrush}" TextWrapping="WrapWholeWords"/>
    </Grid>

</ContentDialog>