39 references to RowsInternal
System.Windows.Forms (39)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (27)
205foreach (ToolStripPanelRow row in RowsInternal) 290ToolStripPanelRow[] rows = new ToolStripPanelRow[RowsInternal.Count]; 291RowsInternal.CopyTo(rows, 0); 484if (e.AffectedComponent is ISupportToolStripPanel draggedControl && RowsInternal.Contains(draggedControl.ToolStripPanelRow!)) 524foreach (ToolStripPanelRow row in RowsInternal) 624int numRows = RowsInternal.Count; 657if (numRows < RowsInternal.Count || forceLayout) 727if (row >= RowsInternal.Count) 733dragRect = RowsInternal[row].DragBounds; 864int index = RowsInternal.Count; 879if (RowsInternal.Count > 0) 883previousRow = RowsInternal[0]; 887previousRow = RowsInternal[index - 1]; 910RowsInternal.Insert(index, row); 916int index = RowsInternal.IndexOf(row); 920if (index > 0 && index - 1 == RowsInternal.IndexOf(currentToolStripPanelRow)) 929RowsInternal.Insert(index, row); 954for (int i = 0; i < RowsInternal.Count; i++) 956LayoutTransaction.DoLayout(RowsInternal[i], this, PropertyNames.Rows); 959if (RowsInternal.IndexOf(row) > 0) 1025foreach (ToolStripPanelRow row in RowsInternal) 1055for (int i = 0; i < RowsInternal.Count; i++) 1057ToolStripPanelRow row = RowsInternal[i]; 1065int 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}"); 1121ArrangedElementCollection IArrangedElement.Children => RowsInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
333ToolStripPanel.RowsInternal.Remove(this); 718ToolStripPanel.RowsInternal.Remove(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (5)
52int index = ToolStripPanel.RowsInternal.IndexOf(Row); 56Rectangle previousRowBounds = ToolStripPanel.RowsInternal[index - 1].Bounds; 63if (index < ToolStripPanel.RowsInternal.Count - 1) 65Rectangle nextRowBounds = ToolStripPanel.RowsInternal[index + 1].Bounds; 67dragBounds.Height += (nextRowBounds.Height >> 2) + Row.Margin.Bottom + ToolStripPanel.RowsInternal[index + 1].Margin.Top;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (5)
53int index = ToolStripPanel.RowsInternal.IndexOf(Row); 57Rectangle previousRowBounds = ToolStripPanel.RowsInternal[index - 1].Bounds; 64if (index < ToolStripPanel.RowsInternal.Count - 1) 66Rectangle nextRowBounds = ToolStripPanel.RowsInternal[index + 1].Bounds; 68dragBounds.Width += (nextRowBounds.Width >> 2) + Row.Margin.Right + ToolStripPanel.RowsInternal[index + 1].Margin.Left;