2017-09-18 18:40:43 +02:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using Windows.UI.Xaml;
|
|
|
|
|
|
|
|
|
|
namespace ModernKeePass.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class HomeVm : INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
public Visibility Visibility { get; set; }
|
|
|
|
|
public string ErrorMessage { get; set; }
|
2017-09-25 18:34:27 +02:00
|
|
|
|
public bool IsOpen { get; set; }
|
2017-09-18 18:40:43 +02:00
|
|
|
|
|
|
|
|
|
public HomeVm()
|
|
|
|
|
{
|
|
|
|
|
Visibility = Visibility.Collapsed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
public void NotifyPropertyChanged(string propertyName)
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|