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