private Root.Layout Tall(IViewModel viewModel) { viewModel.DetachViews(); var view = new Tall(); viewModel.AttachView(view); return(new Root.Layout(Vector4.Zero, view, 0)); }
private Root.Layout LeftRight(IViewModel viewModel) { viewModel.DetachViews(); var left = new Left(); var right = new Right(); viewModel.AttachView(left); viewModel.AttachView(right); return(new Root.Layout(Vector4.Zero, left, Vector4.Zero, right, 0)); }