10 public partial class WorkspaceManagerUserControl : UserControl
14 get {
return (
bool)GetValue(IsSidebarProperty); }
15 set { SetValue(IsSidebarProperty, value); }
17 public static readonly DependencyProperty IsSidebarProperty = DependencyProperty.Register(nameof(IsSidebar), typeof(
bool), typeof(WorkspaceManagerUserControl),
new PropertyMetadata(
true));
22 public WorkspaceManagerUserControl()
24 App app = App.Current as
App;
26 DataContext = ViewModel;
27 InitializeComponent();