Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
WorkspaceManagerUserControl.xaml.cs
4
6{
10 public partial class WorkspaceManagerUserControl : UserControl
11 {
12 public bool IsSidebar
13 {
14 get { return (bool)GetValue(IsSidebarProperty); }
15 set { SetValue(IsSidebarProperty, value); }
16 }
17 public static readonly DependencyProperty IsSidebarProperty = DependencyProperty.Register(nameof(IsSidebar), typeof(bool), typeof(WorkspaceManagerUserControl), new PropertyMetadata(true));
18
19
20 public IWorkspaceManagerViewModel ViewModel { get; }
21
22 public WorkspaceManagerUserControl()
23 {
24 App app = App.Current as App;
25 ViewModel = app?.GetService<IWorkspaceManagerViewModel>();
26 DataContext = ViewModel;
27 InitializeComponent();
28 }
29 }
30}