2018-01-05 00:46:37 +08:00
|
|
|
<StackPanel x:Class="GameRes.Formats.GUI.WidgetXP3"
|
2015-08-20 01:40:32 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:fmt="clr-namespace:GameRes.Formats.KiriKiri"
|
|
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
2018-01-05 00:46:37 +08:00
|
|
|
xmlns:local="clr-namespace:GameRes.Formats.GUI"
|
|
|
|
MaxWidth="250" Orientation="Vertical" HorizontalAlignment="Left">
|
|
|
|
<StackPanel.Resources>
|
|
|
|
<local:ClassNameConverter x:Key="ClassNameConverter" />
|
|
|
|
</StackPanel.Resources>
|
|
|
|
<ComboBox Name="Scheme" Width="180" ItemsSource="{Binding}" HorizontalAlignment="Left"
|
|
|
|
DisplayMemberPath="Key" SelectedValuePath="Key"
|
|
|
|
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=XP3Scheme, Mode=TwoWay}"/>
|
|
|
|
<TextBlock Name="AlgorithmName" DataContext="{Binding ElementName=Scheme, Path=SelectedItem}" Margin="0,5,0,0"
|
|
|
|
Text="{Binding Path=Value, Mode=OneWay, Converter={StaticResource ClassNameConverter}}"/>
|
|
|
|
</StackPanel>
|