Files
modernkeepass/ModernKeePass/Views/UserControls/SetCredentialsUserControl.xaml.cs
Geoffroy BONNEVILLE 1e7662def7 Save error is now handled via Messenger instead of unhandled exception handler (which didn't work)
Save as actually works now
WIP Styles
Code cleanup
2020-05-04 12:48:27 +02:00

27 lines
824 B
C#

using Windows.UI.Xaml;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace ModernKeePass.Views.UserControls
{
public sealed partial class SetCredentialsUserControl
{
public string ButtonLabel
{
get { return (string)GetValue(ButtonLabelProperty); }
set { SetValue(ButtonLabelProperty, value); }
}
public static readonly DependencyProperty ButtonLabelProperty =
DependencyProperty.Register(
nameof(ButtonLabel),
typeof(string),
typeof(SetCredentialsUserControl),
new PropertyMetadata("OK", (o, args) => { }));
public SetCredentialsUserControl()
{
InitializeComponent();
}
}
}