AutoCatAvalonia/AutoCat/Pages/ReportPage.axaml.cs
2024-05-06 01:44:57 +03:00

31 lines
618 B
C#

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