Finished Password User Control

Recent and Open now use this control
This commit is contained in:
bg45
2017-10-01 08:48:29 -04:00
committed by BONNEVILLE Geoffroy
parent 324553c58c
commit 6d69dd4d15
9 changed files with 69 additions and 60 deletions

View File

@@ -1,8 +1,19 @@
namespace ModernKeePass.Models
using System.ComponentModel;
using Windows.UI.Xaml;
namespace ModernKeePass.Models
{
public class RecentItem
public class RecentItem: INotifyPropertyChanged
{
public string Token { get; set; }
public string Name { get; set; }
public Visibility PasswordVisibility { get; set; } = Visibility.Collapsed;
public event PropertyChangedEventHandler PropertyChanged;
public void NotifyPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}