39 references to RowsInternal
System.Windows.Forms (39)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (27)
205
foreach (ToolStripPanelRow row in
RowsInternal
)
290
ToolStripPanelRow[] rows = new ToolStripPanelRow[
RowsInternal
.Count];
291
RowsInternal
.CopyTo(rows, 0);
484
if (e.AffectedComponent is ISupportToolStripPanel draggedControl &&
RowsInternal
.Contains(draggedControl.ToolStripPanelRow!))
524
foreach (ToolStripPanelRow row in
RowsInternal
)
624
int numRows =
RowsInternal
.Count;
649
if (numRows <
RowsInternal
.Count || forceLayout)
719
if (row >=
RowsInternal
.Count)
725
dragRect =
RowsInternal
[row].DragBounds;
856
int index =
RowsInternal
.Count;
871
if (
RowsInternal
.Count > 0)
875
previousRow =
RowsInternal
[0];
879
previousRow =
RowsInternal
[index - 1];
902
RowsInternal
.Insert(index, row);
908
int index =
RowsInternal
.IndexOf(row);
912
if (index > 0 && index - 1 ==
RowsInternal
.IndexOf(currentToolStripPanelRow))
921
RowsInternal
.Insert(index, row);
946
for (int i = 0; i <
RowsInternal
.Count; i++)
948
LayoutTransaction.DoLayout(
RowsInternal
[i], this, PropertyNames.Rows);
951
if (
RowsInternal
.IndexOf(row) > 0)
1017
foreach (ToolStripPanelRow row in
RowsInternal
)
1047
for (int i = 0; i <
RowsInternal
.Count; i++)
1049
ToolStripPanelRow row =
RowsInternal
[i];
1057
int goodRowIndex = (currentlyAssignedRow is not null) ?
RowsInternal
.IndexOf(currentlyAssignedRow) : -1;
1105
{c1.Name ?? ""}: {c1.Bounds} row {GetRow(draggedToolStrip1,
RowsInternal
)} row bounds {draggedToolStrip1.ToolStripPanelRow?.Bounds}
1106
{c2.Name ?? ""}: {c2.Bounds} row {GetRow(draggedToolStrip2,
RowsInternal
)} row bounds {draggedToolStrip2.ToolStripPanelRow?.Bounds}");
1113
ArrangedElementCollection IArrangedElement.Children =>
RowsInternal
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
333
ToolStripPanel.
RowsInternal
.Remove(this);
718
ToolStripPanel.
RowsInternal
.Remove(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (5)
52
int index = ToolStripPanel.
RowsInternal
.IndexOf(Row);
56
Rectangle previousRowBounds = ToolStripPanel.
RowsInternal
[index - 1].Bounds;
63
if (index < ToolStripPanel.
RowsInternal
.Count - 1)
65
Rectangle nextRowBounds = ToolStripPanel.
RowsInternal
[index + 1].Bounds;
67
dragBounds.Height += (nextRowBounds.Height >> 2) + Row.Margin.Bottom + ToolStripPanel.
RowsInternal
[index + 1].Margin.Top;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (5)
53
int index = ToolStripPanel.
RowsInternal
.IndexOf(Row);
57
Rectangle previousRowBounds = ToolStripPanel.
RowsInternal
[index - 1].Bounds;
64
if (index < ToolStripPanel.
RowsInternal
.Count - 1)
66
Rectangle nextRowBounds = ToolStripPanel.
RowsInternal
[index + 1].Bounds;
68
dragBounds.Width += (nextRowBounds.Width >> 2) + Row.Margin.Right + ToolStripPanel.
RowsInternal
[index + 1].Margin.Left;