using AutoCatCore.Model; using Avalonia; using Avalonia.Controls; namespace AutoCat.Pages; public partial class ReportPage : UserControl { #region Dependency properties public static readonly StyledProperty VehicleProperty = AvaloniaProperty.Register(nameof(Vehicle)); #endregion #region Properties public Vehicle Vehicle { get => GetValue(VehicleProperty); set => SetValue(VehicleProperty, value); } #endregion public ReportPage() { InitializeComponent(); DataContext = this; } }