mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
20 lines
1.1 KiB
XML
20 lines
1.1 KiB
XML
<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">
|
|
<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"
|
|
Width="200" Grid.Row="0" HorizontalAlignment="Left"/>
|
|
<TextBox Name="Original" Background="Transparent" BorderThickness="0" Text="{Binding Path=OriginalTitle}"
|
|
IsReadOnly="True" TextWrapping="NoWrap" Grid.Row="1" Margin="0,3,0,3" HorizontalAlignment="Left"
|
|
DataContext="{Binding ElementName=Scheme, Path=SelectedItem}"/>
|
|
</Grid>
|