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