47 references to RowsInternal
System.Windows.Forms (47)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
3262Debug.Assert(ToolStripPanelRow == null || ToolStripPanelRow.ToolStripPanel.RowsInternal.Contains(ToolStripPanelRow), "Why are we in an orphaned row?");
winforms\Managed\System\WinForms\ToolStripPanel.cs (34)
251foreach (ToolStripPanelRow row in this.RowsInternal) { 339ToolStripPanelRow[] rows = new ToolStripPanelRow[RowsInternal.Count]; 340RowsInternal.CopyTo(rows,0); 554if (draggedControl != null && this.RowsInternal.Contains(draggedControl.ToolStripPanelRow)) { 587foreach (ToolStripPanelRow row in this.RowsInternal) { 673int numRows = RowsInternal.Count; 693if (numRows < RowsInternal.Count || forceLayout) { 921if (row >= RowsInternal.Count) { 925dragRect = this.RowsInternal[row].DragBounds; 1052int index = this.RowsInternal.Count; 1064if (this.RowsInternal.Count > 0) { 1066previousRow = this.RowsInternal[0]; 1069previousRow = this.RowsInternal[index - 1]; 1092this.RowsInternal.Insert(index, row); 1101int index = RowsInternal.IndexOf(row); 1104if (index > 0 && index-1 == RowsInternal.IndexOf(currentToolStripPanelRow)) { 1110this.RowsInternal.Insert(index, row); 1133for (int i = 0; i < RowsInternal.Count; i++) { 1134LayoutTransaction.DoLayout(RowsInternal[i], this, PropertyNames.Rows); 1138if (RowsInternal.IndexOf(row) > 0) { 1203foreach (ToolStripPanelRow row in this.RowsInternal) { 1230for (int i = 0; i < this.RowsInternal.Count; i++) { 1231ToolStripPanelRow row = this.RowsInternal[i]; 1237int goodRowIndex = (currentlyAssignedRow != null) ? RowsInternal.IndexOf(currentlyAssignedRow) : -1; 1255for (int i = 0; i < RowsInternal.Count; i++) { 1257for (int j = 0; j < RowsInternal[i].ControlsInternal.Count; j++) { 1258Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].ControlsInternal[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).Margin)); 1266Debug.Assert(RowsInternal.Count <= Controls.Count, "How did the number of rows get larger than the number of controls?"); 1287!RowsInternal.Contains(draggedToolStrip1.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip1.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture), 1294!RowsInternal.Contains(draggedToolStrip2.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip2.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture), 1309return RowsInternal;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (12)
336ToolStripPanel.RowsInternal.Remove(this); 732ToolStripPanel.RowsInternal.Remove(this); 960int index = ToolStripPanel.RowsInternal.IndexOf(Row); 963Rectangle previousRowBounds = ToolStripPanel.RowsInternal[index - 1].Bounds; 970if (index < ToolStripPanel.RowsInternal.Count - 1) { 971Rectangle nextRowBounds = ToolStripPanel.RowsInternal[index + 1].Bounds; 973dragBounds.Height += (nextRowBounds.Height >> 2) + Row.Margin.Bottom + ToolStripPanel.RowsInternal[index + 1].Margin.Top; 1468int index = ToolStripPanel.RowsInternal.IndexOf(Row); 1472Rectangle previousRowBounds = ToolStripPanel.RowsInternal[index - 1].Bounds; 1479if (index < ToolStripPanel.RowsInternal.Count - 1) { 1480Rectangle nextRowBounds = ToolStripPanel.RowsInternal[index + 1].Bounds; 1482dragBounds.Width += (nextRowBounds.Width >> 2) + Row.Margin.Right + ToolStripPanel.RowsInternal[index + 1].Margin.Left;