23 references to Controls
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)
75
Assert.Equal(4, control.
Controls
.Count);
76
Assert.Same(control.
Controls
, control.
Controls
);
293
Assert.Equal(expected, control.
Controls
.OfType<ToolStrip>().Single().BackColor);
299
Assert.Equal(expected, control.
Controls
.OfType<ToolStrip>().Single().BackColor);
324
Assert.Equal(expected, control.
Controls
.OfType<ToolStrip>().Single().BackColor);
333
Assert.Equal(expected, control.
Controls
.OfType<ToolStrip>().Single().BackColor);
3102
Assert.Equal(visible && value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3110
Assert.Equal(visible && value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3118
Assert.Equal(visible && !value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3148
Assert.Equal(visible && value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3159
Assert.Equal(visible && value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3170
Assert.Equal(visible && !value, control.
Controls
.OfType<ToolStrip>().Single().Visible);
3972
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];
TestPassApp (2)
RemainingControls.cs (2)
13
foreach (ToolStripItem item in ((ToolStrip)propertyGrid1.
Controls
[3]).Items)
23
foreach (ToolStripItem item in ((ToolStrip)propertyGrid2.
Controls
[3]).Items)
WinFormsControlsTest (2)
Dialogs.cs (1)
70
foreach (Control control in propertyGrid1.
Controls
)
MessageBoxes.cs (1)
50
foreach (Control control in propertyGrid1.
Controls
)