<UserControl x:Class="FasdDesktopUi.Basics.UserControls.LoadingDataIndicator"
             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"
             xmlns:vc="clr-namespace:FasdDesktopUi.Basics.Converter"
             x:Name="LoadingDataIndicatorUc"
             mc:Ignorable="d"
             d:DesignHeight="12"
             d:DesignWidth="800">

    <UserControl.Resources>
        <vc:LanguageDefinitionsConverter x:Key="LanguageConverter" />
    </UserControl.Resources>

    <StackPanel Orientation="Horizontal">

        <ico:AdaptableIcon BorderPadding="0"
                           VerticalAlignment="Center"
                           IconHeight="12"
                           IconWidth="12"
                           Margin="5 0 5 0"
                           SelectedInternGif="loadingSpinner" />

        <TextBlock Style="{DynamicResource DetailsPage.DataHistory.ControlBar.Text}"
                   VerticalAlignment="Center"
                   Text="{Binding ElementName=LoadingDataIndicatorUc, Path=LoadingText}" />
    </StackPanel>

</UserControl>
