cemu-DS4Windows/DS4Windows/DS4Forms/LanguagePackControl.xaml

21 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2019-12-18 22:33:23 +01:00
<UserControl x:Class="DS4WinWPF.DS4Forms.LanguagePackControl"
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:DS4WinWPF.DS4Forms"
mc:Ignorable="d"
d:DesignHeight="30" d:DesignWidth="340">
<StackPanel Orientation="Horizontal">
<Label x:Name="label1" Content="Use language pack:" />
<ComboBox x:Name="cbCulture" Width="200" Margin="10,0,0,0"
ItemsSource="{Binding LangPackList}" SelectedIndex="{Binding SelectedIndex,FallbackValue=0}" IsEnabled="False">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding NativeName}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</StackPanel>
</UserControl>