Files
modernkeepass/ModernKeePass/Controls/PasswordUserControl.xaml

21 lines
974 B
Plaintext
Raw Normal View History

<UserControl
x:Class="ModernKeePass.Controls.PasswordUserControl"
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="60"
d:DesignWidth="400">
<StackPanel>
<StackPanel Orientation="Horizontal">
<PasswordBox x:Name="PasswordBox" Width="300" IsPasswordRevealButtonEnabled="True" KeyDown="PasswordBox_KeyDown" PlaceholderText="Password"/>
<Button Click="OpenButton_OnClick" Width="auto">
<SymbolIcon Symbol="Forward" />
</Button>
</StackPanel>
<TextBlock x:Name="StatusTextBlock" Height="auto" Width="auto" Foreground="#FF9E1B1B" FontSize="16" />
</StackPanel>
</UserControl>