20 lines
1.1 KiB
Plaintext
Raw Normal View History

<Grid x:Class="GameRes.Formats.GUI.WidgetWARC"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:fmt="clr-namespace:GameRes.Formats.ShiinaRio"
xmlns:p="clr-namespace:GameRes.Formats.Properties"
MaxWidth="250">
2015-06-11 12:32:52 +04:00
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<ComboBox Name="Scheme" ItemsSource="{Binding Source={x:Static fmt:Decoder.KnownSchemes}, Mode=OneWay}"
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=WARCScheme, Mode=TwoWay}"
SelectedValuePath="Name"
DisplayMemberPath="Name"
2016-03-23 12:44:11 +04:00
Width="200" Grid.Row="0" HorizontalAlignment="Left"/>
2015-06-11 12:32:52 +04:00
<TextBox Name="Original" Background="Transparent" BorderThickness="0" Text="{Binding Path=OriginalTitle}"
2016-03-23 12:44:11 +04:00
IsReadOnly="True" TextWrapping="NoWrap" Grid.Row="1" Margin="0,3,0,3" HorizontalAlignment="Left"
2015-06-11 12:32:52 +04:00
DataContext="{Binding ElementName=Scheme, Path=SelectedItem}"/>
</Grid>