PersonalAccountPage.axaml.cs 365 B

123456789101112131415
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using Avalonia.Markup.Xaml;
  4. using AvaloniaApplication3.Models;
  5. namespace AvaloniaApplication3.ViewModels;
  6. public partial class PersonalAccountPage : UserControl
  7. {
  8. public PersonalAccountPage(User? currentUser)
  9. {
  10. DataContext = new PersonalAccountViewModel(currentUser);
  11. InitializeComponent();
  12. }
  13. }