43 references to ControlsInternal
System.Windows.Forms (43)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1450
if (oldToolStripPanelRow is not null && oldToolStripPanelRow.
ControlsInternal
.Contains(this))
1452
oldToolStripPanelRow.
ControlsInternal
.Remove(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (6)
474
controlToBeDragged.ToolStripPanelRow?.
ControlsInternal
.Remove(e.Control);
526
foreach (Control control in row.
ControlsInternal
)
892
&& previousRow.
ControlsInternal
.Count == 1
893
&& previousRow.
ControlsInternal
.Contains(toolStripToDrag))
918
if (currentToolStripPanelRow is not null && currentToolStripPanelRow.
ControlsInternal
.Count == 1)
936
if (currentToolStripPanelRow is not null && currentToolStripPanelRow.
ControlsInternal
.Count > 1)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (6)
76
Control[] controls = new Control[
ControlsInternal
.Count];
77
ControlsInternal
.CopyTo(controls, 0);
101
internal ArrangedElementCollection Cells =>
ControlsInternal
.Cells;
282
ControlsInternal
.Clear();
331
if (
ControlsInternal
.Count <= 0)
716
if (
ControlsInternal
.Count == 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (13)
86
for (int i = 0; i < Row.
ControlsInternal
.Count; i++)
88
totalSize += Row.GetMinimumSize((ToolStrip)Row.
ControlsInternal
[i]);
148
int index = Row.
ControlsInternal
.IndexOf(movingControl);
240
if (spaceToFree == 0 || index < 0 || index >= Row.
ControlsInternal
.Count)
355
int index = Row.
ControlsInternal
.IndexOf(toolStripToDrag);
358
if (index < Row.
ControlsInternal
.Count - 1 /*not the last one in the row*/)
395
if (!Row.
ControlsInternal
.Contains(toolStripToDrag))
401
if (Row.
ControlsInternal
.Count > 0)
428
if (index < Row.
ControlsInternal
.Count)
430
Row.
ControlsInternal
.Insert(index, toolStripToDrag);
434
Row.
ControlsInternal
.Add(toolStripToDrag);
454
if (index < Row.
ControlsInternal
.Count - 1)
525
Row.
ControlsInternal
.Add(toolStripToDrag);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (3)
26
foreach (Control control in Row.
ControlsInternal
)
72
if (index >= 0 && index < Row.
ControlsInternal
.Count - 1)
126
for (int i = index + 1; i < Row.
ControlsInternal
.Count; i++)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (13)
88
for (int i = 0; i < Row.
ControlsInternal
.Count; i++)
90
totalSize += Row.GetMinimumSize((ToolStrip)Row.
ControlsInternal
[i]);
150
int index = Row.
ControlsInternal
.IndexOf(movingControl);
242
if (spaceToFree == 0 || index < 0 || index >= Row.
ControlsInternal
.Count)
402
if (!Row.
ControlsInternal
.Contains(toolStripToDrag))
407
if (Row.
ControlsInternal
.Count > 0)
434
if (index < Row.
ControlsInternal
.Count)
436
Row.
ControlsInternal
.Insert(index, toolStripToDrag);
440
Row.
ControlsInternal
.Add(toolStripToDrag);
461
if (index < Row.
ControlsInternal
.Count - 1)
535
Row.
ControlsInternal
.Add(toolStripToDrag);
565
int index = Row.
ControlsInternal
.IndexOf(toolStripToDrag);
568
if (index < Row.
ControlsInternal
.Count - 1 /*not the last one in the row*/)