using System; using System.ComponentModel; using AutoCatCore.Model; using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; 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 => (Vehicle)GetValue(VehicleProperty); set => SetValue(VehicleProperty, value); } #endregion public ReportPage() { InitializeComponent(); DataContext = this; } }