using Avalonia.Markup.Xaml; using FluentAvalonia.UI.Controls; using StabilityMatrix.Avalonia.Controls; using StabilityMatrix.Avalonia.ViewModels; namespace StabilityMatrix.Avalonia.Views; public partial class InferencePage : UserControlBase { public InferencePage() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } private void TabView_OnTabCloseRequested(TabView sender, TabViewTabCloseRequestedEventArgs args) { (DataContext as InferenceViewModel)?.OnTabCloseRequested(args); } }