Dispenser/DispenserUI/Views/Product/ProductIndexView.axaml.cs

21 lines
466 B
C#
Raw Normal View History

2024-08-16 07:20:09 +00:00
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using DispenserUI.ViewModels.Product;
namespace DispenserUI.Views.Product;
public partial class ProductIndexView : UserControl
{
public ProductIndexVM ViewModel { get; } = App.GetService<ProductIndexVM>();
public ProductIndexView()
{
DataContext = ViewModel;
InitializeComponent();
}
public void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}