34 references to RowsInternal
System.Windows.Forms (34)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (22)
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
)
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;