Show.axaml.cs 589 B

12345678910111213141516171819202122232425262728293031
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using Avalonia.Markup.Xaml;
  4. using AvaloniaApplicationBase.ViewModels;
  5. using Microsoft.EntityFrameworkCore.Metadata;
  6. using System;
  7. namespace AvaloniaApplicationBase;
  8. public partial class Show : UserControl
  9. {
  10. public Show()
  11. {
  12. InitializeComponent();
  13. DataContext = new show();
  14. }
  15. public string LastName { get; set; }
  16. public string FirstName { get; set; }
  17. public string PatronymicName { get; set; }
  18. public string FullName
  19. {
  20. get { return $"{LastName} {FirstName} {PatronymicName}"; }
  21. }
  22. }