<UserControl x:Class="FasdDesktopUi.Basics.UserControls.Badge"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:FasdDesktopUi.Basics.UserControls"
             xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
             mc:Ignorable="d"
             d:DesignHeight="20"
             d:DesignWidth="40"
             x:Name="BadgeControl">

    <Border Background="{DynamicResource Color.SoftContrast}"
            CornerRadius="5">

        <StackPanel HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Orientation="Horizontal"
                    Margin="7.5 2.5">
            <TextBlock FontSize="12"
                       FontWeight="Bold"
                       Foreground="{DynamicResource FontColor.DetailsPage.DataHistory.Value}"
                       Text="{Binding ElementName=BadgeControl, Path=Text}" />
        </StackPanel>

    </Border>
</UserControl>
