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

    <Grid RowSpacing="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>

        <TextBox x:Name="_GroupName"
                 Grid.Row="0"
                 Header="Group Name"
                 PlaceholderText="Group name" />

        <TextBox x:Name="_Description"
                 Grid.Row="1"
                 Header="Description"
                 PlaceholderText="Description"
                 TextWrapping="Wrap"
                 AcceptsReturn="True" />

        <TextBlock Width="300"
                   x:Name="_Message"
                   Grid.Row="2"
                   Foreground="{StaticResource SystemControlErrorTextForegroundBrush}"
                   TextWrapping="WrapWholeWords" />
    </Grid>

</ContentDialog>
