16 writes to ImageAlign
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
262set => base.ImageAlign = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
509menuItem.ImageAlign = ImageAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
117set => base.ImageAlign = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
233_splitButtonButton.ImageAlign = ImageAlign;
System.Windows.Forms.Tests (12)
System\Windows\Forms\ToolStripItemTests.cs (11)
4176ImageAlign = value 4181item.ImageAlign = value; 4215item.ImageAlign = value; 4221item.ImageAlign = value; 4269item.ImageAlign = value; 4278item.ImageAlign = value; 4307item.ImageAlign = value; 4313item.ImageAlign = value; 4346item.ImageAlign = value; 4355item.ImageAlign = value; 4376Assert.Throws<InvalidEnumArgumentException>("value", () => item.ImageAlign = value);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
289ImageAlign = ContentAlignment.BottomCenter,
31 references to ImageAlign
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
261get => base.ImageAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
115layoutOptions.ImageAlign = Owner.ImageAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
509menuItem.ImageAlign = ImageAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
116get => base.ImageAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
233_splitButtonButton.ImageAlign = ImageAlign;
System.Windows.Forms.Tests (26)
System\Windows\Forms\ToolStripButtonTests.cs (6)
60Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 141Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 228Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 318Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 406Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 504Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
60Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 149Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 248Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 356Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign);
System\Windows\Forms\ToolStripItemTests.cs (13)
59Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 144Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 239Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 4178Assert.Equal(value, item.ImageAlign); 4182Assert.Equal(value, item.ImageAlign); 4216Assert.Equal(value, item.ImageAlign); 4222Assert.Equal(value, item.ImageAlign); 4270Assert.Equal(value, item.ImageAlign); 4279Assert.Equal(value, item.ImageAlign); 4308Assert.Equal(value, item.ImageAlign); 4314Assert.Equal(value, item.ImageAlign); 4347Assert.Equal(value, item.ImageAlign); 4356Assert.Equal(value, item.ImageAlign);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
64Assert.Equal(ContentAlignment.MiddleCenter, item.ImageAlign); 334clone.ImageAlign.Should().Be(original.ImageAlign);