MainWindowViewModel.cs 322 B

123456789101112
  1. using Avalonia.Controls;
  2. using ReactiveUI;
  3. using AvaloniaApplication4.Views;
  4. namespace AvaloniaApplication4.ViewModels
  5. {
  6. public class MainWindowViewModel : ViewModelBase
  7. {
  8. UserControl us = new Auth();
  9. public UserControl Us { get => us; set => this.RaiseAndSetIfChanged(ref us, value); }
  10. }
  11. }