10 writes to Anchor
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
478DisplayedItems[i].Anchor = (spring) ? AllAnchor : VerticalAnchor; 525DisplayedItems[i].Anchor = (spring) ? AllAnchor : HorizontalAnchor;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
493menuItem.Anchor = Anchor;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripItemTests.cs (6)
795Anchor = value 800item.Anchor = value; 819item.Anchor = value; 825item.Anchor = value; 851item.Anchor = value; 857item.Anchor = value;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
273Anchor = AnchorStyles.Bottom,
26 references to Anchor
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
606if (value != Anchor)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
493menuItem.Anchor = Anchor;
System.Windows.Forms.Tests (24)
System\Windows\Forms\ToolStripButtonTests.cs (6)
26Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 107Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 194Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 284Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 373Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 471Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
56Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
25Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 115Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 214Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 314Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor);
System\Windows\Forms\ToolStripItemTests.cs (9)
28Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 114Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 209Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 797Assert.Equal(expected, item.Anchor); 801Assert.Equal(expected, item.Anchor); 820Assert.Equal(expected, item.Anchor); 826Assert.Equal(expected, item.Anchor); 852Assert.Equal(expected, item.Anchor); 858Assert.Equal(expected, item.Anchor);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
26Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor); 318clone.Anchor.Should().Be(original.Anchor);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
26Assert.Equal(AnchorStyles.Top | AnchorStyles.Left, item.Anchor);