Dispenser/DispenserUI/Views/ContainerView.axaml.cs

22 lines
468 B
C#
Raw Normal View History

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