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