79 references to ContainerControl
System.Windows.Forms (8)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
85
=> this.TryGetOwnerAs(out Control? owner) && owner.GetStyle(ControlStyles.
ContainerControl
)
System\Windows\Forms\Control.cs (4)
1321
if (GetStyle(ControlStyles.
ContainerControl
))
5256
return ((ctl._controlStyle & ControlStyles.
ContainerControl
) == ControlStyles.
ContainerControl
&& ctl is IContainerControl);
10457
return GetStyle(ControlStyles.
ContainerControl
);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
33
SetStyle(ControlStyles.
ContainerControl
, true);
197
SetStyle(ControlStyles.
ContainerControl
, true);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
60
SetStyle(ControlStyles.
ContainerControl
, true);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
191
[InlineData(ControlStyles.
ContainerControl
, true)]
System.Windows.Forms.Tests (70)
System\Windows\Forms\ButtonBaseTests.cs (1)
5061
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ButtonTests.cs (1)
1767
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\CheckBoxTests.cs (1)
495
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ComboBoxTests.cs (1)
1453
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
511
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ControlTests.cs (1)
524
control.SetStyle(ControlStyles.
ContainerControl
, containerControl);
System\Windows\Forms\ControlTests.Methods.cs (5)
2203
grandparent.SetStyle(ControlStyles.
ContainerControl
, false);
2225
grandparent.SetStyle(ControlStyles.
ContainerControl
, true);
2864
[InlineData(ControlStyles.
ContainerControl
, false)]
14142
parent.SetStyle(ControlStyles.
ContainerControl
, containerControl);
14189
SetStyle(ControlStyles.
ContainerControl
, true);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1098
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\DateTimePickerTests.cs (1)
861
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
214
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
676
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\DomainUpDownTests.cs (1)
1064
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
278
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\FormTests.cs (1)
2429
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\GroupBoxTests.cs (19)
625
control.SetStyle(ControlStyles.
ContainerControl
, false);
629
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
639
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
670
control.SetStyle(ControlStyles.
ContainerControl
, false);
674
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
683
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
712
control.SetStyle(ControlStyles.
ContainerControl
, false);
716
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
729
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
766
control.SetStyle(ControlStyles.
ContainerControl
, false);
770
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
783
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
829
control.SetStyle(ControlStyles.
ContainerControl
, false);
833
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
846
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
893
control.SetStyle(ControlStyles.
ContainerControl
, false);
897
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
910
Assert.Equal(containerControl, control.GetStyle(ControlStyles.
ContainerControl
));
1413
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\HScrollBarTests.cs (1)
208
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\LabelTests.cs (1)
145
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ListBoxTests.cs (1)
4897
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ListControlTests.cs (1)
2562
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ListViewTests.cs (1)
4254
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\MenuStripTests.cs (1)
511
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\MonthCalendarTests.cs (1)
3323
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\PanelTests.cs (1)
852
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\PictureBoxTests.cs (1)
1868
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ProgressBarTests.cs (1)
1797
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\PropertyGridTests.cs (1)
3473
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\RadioButtonTests.cs (1)
622
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\RichTextBoxTests.cs (1)
8970
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\ScrollableControlTests.cs (1)
1349
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ScrollBarTests.cs (1)
1861
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\SplitterTests.cs (1)
1640
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\StatusStripTests.cs (1)
1096
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\TabControlTests.cs (1)
3929
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\TableLayoutPanelTests.cs (1)
1168
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\TabPageTests.cs (1)
3774
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1672
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3643
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ToolStripPanelTests.cs (1)
306
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\ToolStripTests.cs (1)
4921
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\TreeViewTests.cs (1)
5044
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\UpDownBaseTests.cs (1)
1681
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\UserControlTests.cs (1)
896
[InlineData(ControlStyles.
ContainerControl
, true)]
System\Windows\Forms\VScrollBarTests.cs (1)
198
[InlineData(ControlStyles.
ContainerControl
, false)]
System\Windows\Forms\WebBrowserTests.cs (1)
2815
[InlineData(ControlStyles.
ContainerControl
, false)]
TextBoxBaseTests.cs (1)
5141
[InlineData(ControlStyles.
ContainerControl
, false)]
TextBoxTests.cs (1)
494
[InlineData(ControlStyles.
ContainerControl
, false)]
TrackBarTests.cs (1)
2272
[InlineData(ControlStyles.
ContainerControl
, false)]
WebBrowserBaseTests.cs (1)
763
[InlineData(ControlStyles.
ContainerControl
, false)]