19 lines
1.0 KiB
XML

<Grid x:Class="GameRes.Formats.GUI.WidgetRCT"
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:majiro="clr-namespace:GameRes.Formats.Majiro">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Label Content="{x:Static s:arcStrings.RCTChoose}" Grid.Row="0" HorizontalAlignment="Left"/>
<ComboBox Name="Title" ItemsSource="{Binding Source={x:Static majiro:RctFormat.KnownKeys}, Mode=OneWay}"
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=RCTTitle, Mode=TwoWay}"
SelectedValuePath="Key" DisplayMemberPath="Key" SelectionChanged="Title_SelectionChanged"
Width="200" Grid.Row="1" HorizontalAlignment="Left"/>
<TextBox Name="Password" Width="200" HorizontalAlignment="Left" Grid.Row="2" Margin="0,5,0,0"/>
</Grid>