mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
Migrated code from code behind pages to view models Auto select Recents if there are any recent items WIP auto focus on password box when opening database
21 lines
1.0 KiB
XML
21 lines
1.0 KiB
XML
<UserControl
|
|
x:Class="ModernKeePass.Controls.OpenDatabaseUserControl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:ModernKeePass.Controls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="65"
|
|
d:DesignWidth="335" Loaded="UserControl_Loaded">
|
|
<StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0,-1,0,-1" >
|
|
<PasswordBox x:Name="PasswordBox" Width="300" IsPasswordRevealButtonEnabled="True" KeyDown="PasswordBox_KeyDown" PlaceholderText="Password"/>
|
|
<Button Click="OpenButton_OnClick" Width="auto" Padding="2,0">
|
|
<SymbolIcon Symbol="Forward" />
|
|
</Button>
|
|
</StackPanel>
|
|
<TextBlock x:Name="StatusTextBlock" Height="32" Width="auto" Foreground="#FFBF6969" FontSize="16" FontWeight="Bold" />
|
|
</StackPanel>
|
|
</UserControl>
|