6 writes to ControlAlign
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripControlHostTests.cs (6)
704ControlAlign = value 712item.ControlAlign = value; 727item.ControlAlign = value; 732item.ControlAlign = value; 745Assert.Throws<InvalidEnumArgumentException>("value", () => item.ControlAlign = value); 2774ControlAlign = controlAlign
7 references to ControlAlign
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
651Rectangle bounds = LayoutUtils.Align(size, Bounds, ControlAlign); 660bounds = LayoutUtils.Align(_control.Size, Bounds, ControlAlign);
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripControlHostTests.cs (5)
70Assert.Equal(ContentAlignment.MiddleCenter, item.ControlAlign); 706Assert.Equal(value, item.ControlAlign); 713Assert.Equal(value, item.ControlAlign); 728Assert.Equal(value, item.ControlAlign); 733Assert.Equal(value, item.ControlAlign);