15 lines
447 B
C#
15 lines
447 B
C#
using Avalonia.Controls;
|
|
using LehrerApp.Desktop.ViewModels.Groups;
|
|
|
|
namespace LehrerApp.Desktop.Views.Groups;
|
|
|
|
public partial class GroupOverviewTabView : UserControl
|
|
{
|
|
public GroupOverviewTabView() => InitializeComponent();
|
|
protected override void OnDataContextChanged(EventArgs e)
|
|
{
|
|
base.OnDataContextChanged(e);
|
|
if (DataContext is GroupOverviewViewModel vm) vm.OnOpenTeachingMode = TeachingModeWindow.Open;
|
|
}
|
|
}
|