2016-06-10 08:39:29 +08:00
|
|
|
<StackPanel x:Class="GameRes.Formats.GUI.WidgetGAL"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:s="clr-namespace:GameRes.Formats.Strings"
|
|
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
|
|
|
xmlns:local="clr-namespace:GameRes.Formats.GUI"
|
|
|
|
MaxWidth="250" Orientation="Vertical">
|
|
|
|
<Label HorizontalAlignment="Left" Margin="0,0,5,5" Padding="0">
|
|
|
|
<TextBlock Text="{x:Static s:arcStrings.GALChoose}" TextWrapping="WrapWithOverflow"/>
|
|
|
|
</Label>
|
|
|
|
<ComboBox Name="Title" ItemsSource="{Binding}"
|
2016-06-10 10:27:21 +08:00
|
|
|
SelectedValue="{Binding ElementName=Key, Path=Text}"
|
2016-06-10 08:39:29 +08:00
|
|
|
SelectedValuePath="Value" DisplayMemberPath="Key"
|
|
|
|
Width="200" HorizontalAlignment="Left"/>
|
|
|
|
<TextBox Name="Key" Width="200" HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
<TextBox.Text>
|
2016-06-10 10:27:21 +08:00
|
|
|
<Binding Source="{x:Static p:Settings.Default}" Path="GALKey" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"/>
|
2016-06-10 08:39:29 +08:00
|
|
|
</TextBox.Text>
|
|
|
|
</TextBox>
|
|
|
|
</StackPanel>
|