mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
TextBoxWithButton control correctly updates field value
Create Group now allows inline input of the group name
This commit is contained in:
@@ -57,6 +57,18 @@ namespace ModernKeePass.Controls
|
||||
typeof(TextBoxWithButton),
|
||||
new PropertyMetadata(null, (o, args) => { }));
|
||||
|
||||
public string ButtonCommandParameter
|
||||
{
|
||||
get { return (string)GetValue(ButtonCommandParameterProperty); }
|
||||
set { SetValue(ButtonCommandParameterProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty ButtonCommandParameterProperty =
|
||||
DependencyProperty.Register(
|
||||
nameof(ButtonCommandParameter),
|
||||
typeof(string),
|
||||
typeof(TextBoxWithButton),
|
||||
new PropertyMetadata(null, (o, args) => { }));
|
||||
|
||||
public bool IsButtonEnabled
|
||||
{
|
||||
get { return (bool)GetValue(IsButtonEnabledProperty); }
|
||||
|
Reference in New Issue
Block a user