10 writes to Dock
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
503menuItem.Dock = Dock;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
883Dock = DockStyle.None,
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolStripItemTests.cs (7)
2364Dock = value 2369item.Dock = value; 2389item.Dock = value; 2395item.Dock = value; 2422item.Dock = value; 2428item.Dock = value; 2444Assert.Throws<InvalidEnumArgumentException>("value", () => item.Dock = value);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
283Dock = DockStyle.Bottom,
26 references to Dock
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
634if (value != Dock)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
503menuItem.Dock = Dock;
System.Windows.Forms.Tests (24)
System\Windows\Forms\ToolStripButtonTests.cs (6)
49Assert.Equal(DockStyle.None, item.Dock); 130Assert.Equal(DockStyle.None, item.Dock); 217Assert.Equal(DockStyle.None, item.Dock); 307Assert.Equal(DockStyle.None, item.Dock); 395Assert.Equal(DockStyle.None, item.Dock); 493Assert.Equal(DockStyle.None, item.Dock);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
79Assert.Equal(DockStyle.None, item.Dock);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
45Assert.Equal(DockStyle.None, item.Dock); 134Assert.Equal(DockStyle.None, item.Dock); 233Assert.Equal(DockStyle.None, item.Dock); 333Assert.Equal(DockStyle.None, item.Dock);
System\Windows\Forms\ToolStripItemTests.cs (9)
48Assert.Equal(DockStyle.None, item.Dock); 133Assert.Equal(DockStyle.None, item.Dock); 228Assert.Equal(DockStyle.None, item.Dock); 2366Assert.Equal(value, item.Dock); 2370Assert.Equal(value, item.Dock); 2390Assert.Equal(value, item.Dock); 2396Assert.Equal(value, item.Dock); 2423Assert.Equal(value, item.Dock); 2429Assert.Equal(value, item.Dock);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
46Assert.Equal(DockStyle.None, item.Dock); 328clone.Dock.Should().Be(original.Dock);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
46Assert.Equal(DockStyle.None, item.Dock);