7 writes to MergeIndex
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
514menuItem.MergeIndex = MergeIndex;
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
51item.MergeIndex = 0;
System\Windows\Forms\MDI\MdiWindowListStrip.cs (2)
86MergeIndex = -1 117MergeIndex = accel
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripItemTests.cs (2)
6155MergeIndex = value 6160item.MergeIndex = value;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
294MergeIndex = 1,
26 references to MergeIndex
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (5)
1050if (result is null && source.MergeIndex > -1 && source.MergeIndex < destinationItems.Count) 1052result = destinationItems[source.MergeIndex]; 1222if (source.MergeIndex > -1) 1230int insertIndex = Math.Min(destinationItems.Count, source.MergeIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
514menuItem.MergeIndex = MergeIndex;
System.Windows.Forms.Tests (20)
System\Windows\Forms\ToolStripButtonTests.cs (6)
70Assert.Equal(-1, item.MergeIndex); 151Assert.Equal(-1, item.MergeIndex); 238Assert.Equal(-1, item.MergeIndex); 328Assert.Equal(-1, item.MergeIndex); 416Assert.Equal(-1, item.MergeIndex); 514Assert.Equal(-1, item.MergeIndex);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
99Assert.Equal(-1, item.MergeIndex);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
70Assert.Equal(-1, item.MergeIndex); 159Assert.Equal(-1, item.MergeIndex); 258Assert.Equal(-1, item.MergeIndex); 366Assert.Equal(-1, item.MergeIndex);
System\Windows\Forms\ToolStripItemTests.cs (5)
69Assert.Equal(-1, item.MergeIndex); 154Assert.Equal(-1, item.MergeIndex); 249Assert.Equal(-1, item.MergeIndex); 6157Assert.Equal(value, item.MergeIndex); 6161Assert.Equal(value, item.MergeIndex);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
77Assert.Equal(-1, item.MergeIndex); 339clone.MergeIndex.Should().Be(original.MergeIndex);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
67Assert.Equal(-1, item.MergeIndex);