31 lines
618 B
C#
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;
|
|
}
|
|
} |