Написал я вот такой тест:
public void Test_LayoutControls_Horizontal() {
...
splitLayout.Direction = ExpressApp.Layout.FlowDirection.Horizontal;
SidePanelLayout layout = new SidePanelLayout ();
Panel panel1 = new Panel();
Panel panel2 = new Panel();
layout.LayoutControls(splitLayout, new Item("1", panel1), new Item("2", panel2));
SidePanelContainer mainPanel = layout.Container as SidePanelContainer;
Assert.IsNotNull(mainPanel);
Assert.AreEqual(DockStyle.Fill, mainPanel.Dock);
public void Test_LayoutControls_Horizontal() {
...
splitLayout.Direction = ExpressApp.Layout.FlowDirection.Horizontal;
SidePanelLayout layout = new SidePanelLayout ();
Panel panel1 = new Panel();
Panel panel2 = new Panel();
layout.LayoutControls(splitLayout, new Item("1", panel1), new Item("2", panel2));
SidePanelContainer mainPanel = layout.Container as SidePanelContainer;
Assert.IsNotNull(mainPanel);
Assert.AreEqual(DockStyle.Fill, mainPanel.Dock);