<?xml version="1.0" encoding="utf-8"?>
<ContentDialog
    x:Class="Sonex.Client.Dialogs.SendSessionsMessageDialog"
    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"
    mc:Ignorable="d"
    Title="Send message"
    PrimaryButtonText="Send"
    SecondaryButtonText="Cancel"
    DefaultButton="Primary"
    PrimaryButtonClick="SendSessionsMessageDialog_PrimaryButtonClick">
    <StackPanel Spacing="12" MinWidth="360">
        <TextBlock
            x:Name="_Description"
            Text="Enter the message that should be sent to the selected instances."
            TextWrapping="WrapWholeWords" />

        <TextBox
            x:Name="TitleBox"
            Header="Title"
            PlaceholderText="Enter title" />

        <TextBox
            x:Name="MessageBox"
            Header="Message"
            PlaceholderText="Enter message"
            AcceptsReturn="True"
            TextWrapping="Wrap"
            MinHeight="120" />

        <TextBlock
            x:Name="_Message"
            Foreground="{StaticResource SystemControlErrorTextForegroundBrush}"
            TextWrapping="WrapWholeWords" />
    </StackPanel>
</ContentDialog>
