2020-05-04 12:48:27 +02:00
|
|
|
|
using Windows.UI.Xaml;
|
2020-04-20 20:02:43 +02:00
|
|
|
|
|
|
|
|
|
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
|
|
|
|
|
|
|
|
|
|
namespace ModernKeePass.Views.UserControls
|
|
|
|
|
{
|
2020-04-22 16:21:47 +02:00
|
|
|
|
public sealed partial class SetCredentialsUserControl
|
2020-04-20 20:02:43 +02:00
|
|
|
|
{
|
2020-04-21 11:26:02 +02:00
|
|
|
|
public string ButtonLabel
|
|
|
|
|
{
|
|
|
|
|
get { return (string)GetValue(ButtonLabelProperty); }
|
|
|
|
|
set { SetValue(ButtonLabelProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
public static readonly DependencyProperty ButtonLabelProperty =
|
|
|
|
|
DependencyProperty.Register(
|
|
|
|
|
nameof(ButtonLabel),
|
|
|
|
|
typeof(string),
|
2020-04-22 16:21:47 +02:00
|
|
|
|
typeof(SetCredentialsUserControl),
|
2020-04-21 11:26:02 +02:00
|
|
|
|
new PropertyMetadata("OK", (o, args) => { }));
|
2020-04-22 16:21:47 +02:00
|
|
|
|
|
|
|
|
|
public SetCredentialsUserControl()
|
2020-04-20 20:02:43 +02:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|