55 references to HasChildren
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
864
get => base.
HasChildren
;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (1)
122
if (!parent.
HasChildren
)
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
310
if (c.
HasChildren
)
514
if (comp is Control {
HasChildren
: true } ctl)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
82
Assert.True(control.
HasChildren
);
System.Windows.Forms.Tests (50)
System\Windows\Forms\AxHostTests.cs (2)
79
Assert.False(control.
HasChildren
);
173
Assert.False(control.
HasChildren
);
System\Windows\Forms\ButtonBaseTests.cs (1)
71
Assert.False(control.
HasChildren
);
System\Windows\Forms\ButtonTests.cs (1)
74
Assert.False(control.
HasChildren
);
System\Windows\Forms\CheckBoxTests.cs (1)
75
Assert.False(control.
HasChildren
);
System\Windows\Forms\ComboBoxTests.cs (1)
85
Assert.False(control.
HasChildren
);
System\Windows\Forms\ContainerControlTests.cs (1)
82
Assert.False(control.
HasChildren
);
System\Windows\Forms\ControlTests.cs (5)
63
Assert.False(control.
HasChildren
);
152
Assert.False(control.
HasChildren
);
248
Assert.False(control.
HasChildren
);
344
Assert.False(control.
HasChildren
);
440
Assert.False(control.
HasChildren
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
79
Assert.False(control.
HasChildren
);
System\Windows\Forms\DateTimePickerTests.cs (1)
80
Assert.False(control.
HasChildren
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
96
Assert.True(control.
HasChildren
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
79
Assert.False(control.
HasChildren
);
System\Windows\Forms\DomainUpDownTests.cs (1)
101
_sub.
HasChildren
.Should().BeTrue();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
76
Assert.False(control.
HasChildren
);
System\Windows\Forms\FormTests.cs (1)
98
Assert.False(control.
HasChildren
);
System\Windows\Forms\GroupBoxTests.cs (1)
67
Assert.False(control.
HasChildren
);
System\Windows\Forms\HScrollBarTests.cs (1)
74
Assert.False(control.
HasChildren
);
System\Windows\Forms\LabelTests.cs (1)
67
Assert.False(control.
HasChildren
);
System\Windows\Forms\ListBoxTests.cs (1)
77
Assert.False(control.
HasChildren
);
System\Windows\Forms\ListControlTests.cs (1)
73
Assert.False(control.
HasChildren
);
System\Windows\Forms\ListViewTests.cs (1)
87
Assert.False(control.
HasChildren
);
System\Windows\Forms\MdiClientTests.cs (1)
52
Assert.False(control.
HasChildren
);
System\Windows\Forms\MonthCalendarTests.cs (1)
84
Assert.False(control.
HasChildren
);
System\Windows\Forms\PanelTests.cs (1)
76
Assert.False(control.
HasChildren
);
System\Windows\Forms\PictureBoxTests.cs (1)
71
Assert.False(control.
HasChildren
);
System\Windows\Forms\ProgressBarTests.cs (1)
64
Assert.False(control.
HasChildren
);
System\Windows\Forms\PropertyGridTests.cs (1)
105
Assert.True(control.
HasChildren
);
System\Windows\Forms\RadioButtonTests.cs (1)
74
Assert.False(control.
HasChildren
);
System\Windows\Forms\RichTextBoxTests.cs (1)
83
Assert.False(control.
HasChildren
);
System\Windows\Forms\ScrollableControlTests.cs (1)
75
Assert.False(control.
HasChildren
);
System\Windows\Forms\ScrollBarTests.cs (1)
64
Assert.False(control.
HasChildren
);
System\Windows\Forms\SplitterPanelTests.cs (1)
68
Assert.False(control.
HasChildren
);
System\Windows\Forms\SplitterTests.cs (1)
65
Assert.False(control.
HasChildren
);
System\Windows\Forms\TabControlTests.cs (1)
67
Assert.False(control.
HasChildren
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
82
Assert.False(control.
HasChildren
);
System\Windows\Forms\TabPageTests.cs (2)
81
Assert.False(control.
HasChildren
);
190
Assert.False(control.
HasChildren
);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
78
Assert.False(control.
HasChildren
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
78
Assert.False(control.
HasChildren
);
System\Windows\Forms\TreeViewTests.cs (1)
69
Assert.False(control.
HasChildren
);
System\Windows\Forms\UpDownBaseTests.cs (1)
88
Assert.True(control.
HasChildren
);
System\Windows\Forms\UserControlTests.cs (1)
82
Assert.False(control.
HasChildren
);
System\Windows\Forms\VScrollBarTests.cs (1)
73
Assert.False(control.
HasChildren
);
System\Windows\Forms\WebBrowserTests.cs (1)
63
Assert.False(control.
HasChildren
);
TextBoxTests.cs (1)
73
Assert.False(control.
HasChildren
);
TrackBarTests.cs (1)
66
Assert.False(control.
HasChildren
);