linphone-tutorials/uwp/cs/06_GroupChat/Controls/MessageDisplay.xaml

28 lines
946 B
Plaintext
Raw Permalink Normal View History

2020-12-11 00:20:19 +08:00
<UserControl
x:Class="_06_GroupChat.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" />
</StackPanel>
</Grid>
</Border>
</UserControl>