using Avalonia.Controls; using Avalonia.Markup.Xaml; using Demka_Snova_1.Hardik.Conect.Dao; using System.Collections.Generic; namespace Demka_Snova_1.OknaFunciy; public partial class ActivityWindow : Window { public ActivityWindow(List activityList) { InitializeComponent(); this.FindControl("ActivityDataGrid").ItemsSource = activityList; } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } }