<?xml version="1.0" encoding="utf-8"?>
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:converters="using:was.touchcopy.features.messaging.converters">

    <converters:MessageContentToForegroundConverter x:Key="MessageContentToForegroundConverter" />
    <converters:WACallMessageContentToForegroundConverter x:Key="WACallMessageContentToForegroundConverter" />
    <converters:WACallMessageContentToGlyphConverter x:Key="WACallMessageContentToGlyphConverter" />
    <converters:WACallMessageContentToTextConverter x:Key="WACallMessageContentToTextConverter" />

    <DataTemplate x:Key="MessageContentWACallDataTemplate">
        <StackPanel Orientation="Horizontal" Spacing="8" Margin="-15,0,-10,0">
            <Border VerticalAlignment="Center" Padding="10" Background="#FFF" CornerRadius="24">
                <FontIcon Glyph="{Binding Converter={StaticResource WACallMessageContentToGlyphConverter}}" Foreground="{Binding Converter={StaticResource WACallMessageContentToForegroundConverter}}" />
            </Border>
            <TextBlock VerticalAlignment="Center" Text="{Binding Converter={StaticResource WACallMessageContentToTextConverter}}" Foreground="{Binding Converter={StaticResource MessageContentToForegroundConverter}}" FontWeight="Bold" />
        </StackPanel>
    </DataTemplate>
</ResourceDictionary>
