<UserControl x:Class="FLY.Thick.Base.UI.CustomSection.UcSectionLanguage"
             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:FLY.Thick.Base.UI.CustomSection"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Converter/Converters.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel Orientation="Horizontal" >
        <Border Style="{StaticResource Styles.ParamSection.Border}">
            <TextBlock Text="{StaticResource str.PgCustomSections.Language}" />
        </Border>
        <StackPanel >
            <StackPanel Orientation="Horizontal">
                <ComboBox ItemsSource="{Binding LanguageList}" SelectedValue="{Binding CurrentLanguage}" DisplayMemberPath="Info" Margin="{StaticResource ControlMargin}" 
                          MinWidth="100" FontSize="{StaticResource FontSize.FieldHeader}" FontFamily="{StaticResource FontFamily.Field}"/>
                <Button Style="{StaticResource Styles.Button.Square2}" Content="{StaticResource str.PgCustomSections.Apply}" Command="{Binding OkCmd}"/>
            </StackPanel>
        </StackPanel>
    </StackPanel>
</UserControl>
