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