AdminPage.axaml.cs 316 B

123456789101112131415
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using AvaloniaApplicationTestNew.ViewModels;
  4. using Avalonia.Markup.Xaml;
  5. namespace AvaloniaApplicationTestNew;
  6. public partial class AdminPage : UserControl
  7. {
  8. public AdminPage()
  9. {
  10. InitializeComponent();
  11. DataContext = new AdminPageViewModel();
  12. }
  13. }