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; 649if (numRows < RowsInternal.Count || forceLayout) 719if (row >= RowsInternal.Count) 725dragRect = RowsInternal[row].DragBounds; 856int index = RowsInternal.Count; 871if (RowsInternal.Count > 0) 875previousRow = RowsInternal[0]; 879previousRow = RowsInternal[index - 1]; 902RowsInternal.Insert(index, row); 908int index = RowsInternal.IndexOf(row); 912if (index > 0 && index - 1 == RowsInternal.IndexOf(currentToolStripPanelRow)) 921RowsInternal.Insert(index, row); 946for (int i = 0; i < RowsInternal.Count; i++) 948LayoutTransaction.DoLayout(RowsInternal[i], this, PropertyNames.Rows); 951if (RowsInternal.IndexOf(row) > 0) 1017foreach (ToolStripPanelRow row in RowsInternal) 1047for (int i = 0; i < RowsInternal.Count; i++) 1049ToolStripPanelRow row = RowsInternal[i]; 1057int 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}"); 1113ArrangedElementCollection 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;