1 write to _toolStripContainer
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripContainerActionListTests.cs (1)
19_toolStripContainer = new();
27 references to _toolStripContainer
System.Windows.Forms.Design.Tests (27)
System\Windows\Forms\Design\ToolStripContainerActionListTests.cs (27)
23_toolStripContainer.Site = _siteMock.Object; 24_actionList = new(_toolStripContainer); 30_toolStripContainer.Dispose(); 38_toolStripContainer.Dock.Should().Be(DockStyle.Fill); 47rootComponent.Controls.Cast<Control>().Should().Contain(_toolStripContainer); 56rootComponent.Controls.Add(_toolStripContainer); 66_toolStripContainer.ContentPanel.Controls.Cast<Control>().Should().Contain(childControl1); 67_toolStripContainer.ContentPanel.Controls.Cast<Control>().Should().Contain(childControl2); 78rootComponent.Controls.Add(_toolStripContainer); 88_toolStripContainer.ContentPanel.Controls.Cast<Control>().Should().NotContain(inheritedControl); 95topVisible.Should().Be(_toolStripContainer.TopToolStripPanelVisible); 101bool newValue = !_toolStripContainer.TopToolStripPanelVisible; 103_toolStripContainer.TopToolStripPanelVisible.Should().Be(newValue); 110bottomVisible.Should().Be(_toolStripContainer.BottomToolStripPanelVisible); 116bool newValue = !_toolStripContainer.BottomToolStripPanelVisible; 118_toolStripContainer.BottomToolStripPanelVisible.Should().Be(newValue); 125leftVisible.Should().Be(_toolStripContainer.LeftToolStripPanelVisible); 131bool newValue = !_toolStripContainer.LeftToolStripPanelVisible; 133_toolStripContainer.LeftToolStripPanelVisible.Should().Be(newValue); 140rightVisible.Should().Be(_toolStripContainer.RightToolStripPanelVisible); 146bool newValue = !_toolStripContainer.RightToolStripPanelVisible; 148_toolStripContainer.RightToolStripPanelVisible.Should().Be(newValue); 172PropertyDescriptor dockProp = TypeDescriptor.GetProperties(_toolStripContainer)["Dock"]!; 173dockProp.SetValue(_toolStripContainer, DockStyle.Fill); 194rootComponent.Controls.Add(_toolStripContainer); 198TypeDescriptor.GetProperties(_toolStripContainer)["Dock"]?.SetValue(_toolStripContainer, DockStyle.Fill);