public SheetControl(ISheetController sheetController) { InitializeComponent(); this._sheetController = sheetController; Loaded += (sender, e) => { _sheetController.State.EditorSheet.SetParent(EditorCanvas); _sheetController.State.BackSheet.SetParent(Root.Back); _sheetController.State.ContentSheet.SetParent(Root.Sheet); _sheetController.State.OverlaySheet.SetParent(Root.Overlay); _sheetController.Init(); }; }