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;
657
if (numRows <
RowsInternal
.Count || forceLayout)
727
if (row >=
RowsInternal
.Count)
733
dragRect =
RowsInternal
[row].DragBounds;
864
int index =
RowsInternal
.Count;
879
if (
RowsInternal
.Count > 0)
883
previousRow =
RowsInternal
[0];
887
previousRow =
RowsInternal
[index - 1];
910
RowsInternal
.Insert(index, row);
916
int index =
RowsInternal
.IndexOf(row);
920
if (index > 0 && index - 1 ==
RowsInternal
.IndexOf(currentToolStripPanelRow))
929
RowsInternal
.Insert(index, row);
954
for (int i = 0; i <
RowsInternal
.Count; i++)
956
LayoutTransaction.DoLayout(
RowsInternal
[i], this, PropertyNames.Rows);
959
if (
RowsInternal
.IndexOf(row) > 0)
1025
foreach (ToolStripPanelRow row in
RowsInternal
)
1055
for (int i = 0; i <
RowsInternal
.Count; i++)
1057
ToolStripPanelRow row =
RowsInternal
[i];
1065
int goodRowIndex = (currentlyAssignedRow is not null) ?
RowsInternal
.IndexOf(currentlyAssignedRow) : -1;
1113
{c1.Name ?? ""}: {c1.Bounds} row {GetRow(draggedToolStrip1,
RowsInternal
)} row bounds {draggedToolStrip1.ToolStripPanelRow?.Bounds}
1114
{c2.Name ?? ""}: {c2.Bounds} row {GetRow(draggedToolStrip2,
RowsInternal
)} row bounds {draggedToolStrip2.ToolStripPanelRow?.Bounds}");
1121
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;