public void LayoutChildren() { if (Content.Value == null) { return; } var view = Content.Value.GetWinFormsView(); view.ActualBounds.Value = ControlLayout.CalculateBounds(_form.ClientSize, view.LayoutPreferences); }