Page1ViewModel.cs 540 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using ReactiveUI;
  4. namespace AvaloniaExample.ViewModels
  5. {
  6. public class Page1ViewModel : ReactiveObject
  7. {
  8. string login = "";
  9. string password = "";
  10. string message = "";
  11. public string Login { get => login; set => this.RaiseAndSetIfChanged(ref login, value); }
  12. public string Password { get => password; set => this.RaiseAndSetIfChanged(ref password, value); }
  13. public string Message { get => message; set => this.RaiseAndSetIfChanged(ref message, value); }
  14. }
  15. }