mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00

Replaced breadcrumb with Up button Search button now integrated in top menu Hamburger menu make better use of visual states Better visual states changes when size changes
39 lines
2.1 KiB
XML
39 lines
2.1 KiB
XML
<Page
|
|
x:Class="ModernKeePass.Views.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"
|
|
mc:Ignorable="d"
|
|
DataContext="{Binding Source={StaticResource Locator}, Path=SettingsNew}">
|
|
|
|
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
<StackPanel.Resources>
|
|
<CollectionViewSource x:Name="KeyDerivations" Source="{Binding FileFormats}" />
|
|
</StackPanel.Resources>
|
|
<TextBlock x:Uid="SettingsNewDatabaseDesc" Style="{StaticResource TextBlockSettingsHeaderStyle}" Margin="5,0,0,10"/>
|
|
<ToggleSwitch x:Uid="SettingsNewDatabaseSample" IsOn="{Binding IsCreateSample, Mode=TwoWay}" />
|
|
<TextBlock x:Uid="SettingsNewDatabaseKdf" Style="{StaticResource TextBlockSettingsHeaderStyle}" Margin="5,20,0,10" />
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<ComboBox Grid.Column="1" ItemsSource="{Binding Source={StaticResource KeyDerivations}}" SelectedItem="{Binding DatabaseFormatVersion, Mode=TwoWay}" DisplayMemberPath="DisplayText" />
|
|
<Button Grid.Column="2" Style="{StaticResource TextBlockButtonStyle}">
|
|
<SymbolIcon Symbol="Help" RenderTransformOrigin="0.5,0.5">
|
|
<SymbolIcon.RenderTransform>
|
|
<CompositeTransform ScaleX="0.7" ScaleY="0.7"/>
|
|
</SymbolIcon.RenderTransform>
|
|
</SymbolIcon>
|
|
<Button.Flyout>
|
|
<Flyout>
|
|
<TextBlock x:Uid="SettingsNewDatabaseKdfMoreInfo" TextWrapping="WrapWholeWords" MaxWidth="400" />
|
|
</Flyout>
|
|
</Button.Flyout>
|
|
</Button>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Page>
|