<UserControl
    x:Class="_07_AdvancedChat.Controls.MessageDisplay"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Loaded="MessageDisplay_Loaded"
	Unloaded="MessageDisplay_Unloaded">

	<Border BorderBrush="{ThemeResource SystemAccentColorDark3}" BorderThickness="1" Padding="2" CornerRadius="20,20,20,20">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="auto" />
				<ColumnDefinition MaxWidth="500" />
			</Grid.ColumnDefinitions>

			<TextBlock x:Name="ReceiveDate" Grid.Column="0" Text="" VerticalAlignment="Center" />

			<StackPanel Orientation="Vertical" Grid.Column="1" Padding="10">

				<TextBlock x:Name="SenderName" Text="Sent by : " />

				<StackPanel  x:Name="ContentsStack" Orientation="Vertical">
				</StackPanel>

				<TextBlock x:Name="MessageState" />
				<TextBlock x:Name="EphemeralLifetime" />
			</StackPanel>
		</Grid>
	</Border>
</UserControl>