23 references to Controls
Accessibility_Core_App (2)
RemainingControls.cs (2)
13foreach (ToolStripItem item in ((ToolStrip)propertyGrid1.Controls[3]).Items) 23foreach (ToolStripItem item in ((ToolStrip)propertyGrid2.Controls[3]).Items)
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
228Controls.AddRange([_helpPane, _commandsPane, _gridView, _toolStrip]);
System.Windows.Forms.Tests (14)
System\Windows\Forms\PropertyGridTests.cs (14)
73Assert.Equal(4, control.Controls.Count); 74Assert.Same(control.Controls, control.Controls); 291Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 297Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 322Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 331Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 3100Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3108Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3116Assert.Equal(visible && !value, control.Controls.OfType<ToolStrip>().Single().Visible); 3146Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3157Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3168Assert.Equal(visible && !value, control.Controls.OfType<ToolStrip>().Single().Visible); 3970PropertyGridView propertyGridView = (PropertyGridView)propertyGrid.Controls[2];
System.Windows.Forms.UI.IntegrationTests (4)
PropertyGridTests.cs (3)
239_propertyGrid.Controls.Should().NotBeNull(); 242_propertyGrid.Controls.Add(textBox); 243_propertyGrid.Controls.Contains(textBox).Should().BeTrue();
PropertyGridViewTests.cs (1)
27PropertyGridView propertyGridView = (PropertyGridView)propertyGrid.Controls[2];
WinFormsControlsTest (2)
Dialogs.cs (1)
70foreach (Control control in propertyGrid1.Controls)
MessageBoxes.cs (1)
50foreach (Control control in propertyGrid1.Controls)