mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<Page
|
|
x:Class="ModernKeePass.Pages.SettingsPageFrames.SettingsNewDatabasePage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
mc:Ignorable="d">
|
|
|
|
<Page.Resources>
|
|
<CollectionViewSource x:Name="KeyDerivations" Source="{Binding KeyDerivations}" />
|
|
</Page.Resources>
|
|
<Page.DataContext>
|
|
<viewModels:SettingsNewVm />
|
|
</Page.DataContext>
|
|
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
<TextBlock x:Uid="SettingsNewDatabaseDesc" FontSize="14" />
|
|
<ToggleSwitch x:Uid="SettingsNewDatabaseSample" IsOn="{Binding IsCreateSample, Mode=TwoWay}" />
|
|
<TextBlock x:Uid="SettingsNewDatabaseKdf" FontSize="14" />
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource KeyDerivations}}" SelectedItem="{Binding KeyDerivationName, Mode=TwoWay}" />
|
|
</StackPanel>
|
|
</Page>
|