mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 16:10:16 -04:00
24 lines
630 B
C#
24 lines
630 B
C#
|
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; }
|
|||
|
|
|||
|
public HomeVm()
|
|||
|
{
|
|||
|
Visibility = Visibility.Collapsed;
|
|||
|
}
|
|||
|
|
|||
|
public event PropertyChangedEventHandler PropertyChanged;
|
|||
|
public void NotifyPropertyChanged(string propertyName)
|
|||
|
{
|
|||
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|