mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Password generation button with display toggle and indicator is now a user control
SetCredentials user controls now uses PasswordGenerationBox user control Some layout improvements in EntryDetailsPage WIP Clipboard suspend issues
This commit is contained in:
@@ -8,14 +8,14 @@ namespace ModernKeePass.Controls
|
||||
{
|
||||
public event EventHandler<RoutedEventArgs> ButtonClick;
|
||||
|
||||
public string ButtonSymbol
|
||||
public string ButtonContent
|
||||
{
|
||||
get { return (string)GetValue(ButtonSymbolProperty); }
|
||||
set { SetValue(ButtonSymbolProperty, value); }
|
||||
get { return (string)GetValue(ButtonContentProperty); }
|
||||
set { SetValue(ButtonContentProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty ButtonSymbolProperty =
|
||||
public static readonly DependencyProperty ButtonContentProperty =
|
||||
DependencyProperty.Register(
|
||||
nameof(ButtonSymbol),
|
||||
nameof(ButtonContent),
|
||||
typeof(string),
|
||||
typeof(PasswordBoxWithButton),
|
||||
new PropertyMetadata("", (o, args) => { }));
|
||||
|
Reference in New Issue
Block a user