19 references to ToolStripItemImageScaling
System.Windows.Forms (19)
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
65
item.ImageScaling =
ToolStripItemImageScaling
.SizeToFit;
74
system.ImageScaling =
ToolStripItemImageScaling
.None;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2107
button.ImageScaling =
ToolStripItemImageScaling
.SizeToFit;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
310
public new
ToolStripItemImageScaling
ImageScaling {
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
365
imageSize = (menuItem.ImageScaling ==
ToolStripItemImageScaling
.SizeToFit) ? ImageScalingSize : menuItem.Image.Size;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
378
if (item.ImageScaling ==
ToolStripItemImageScaling
.None) {
winforms\Managed\System\WinForms\ToolStripItem.cs (8)
66
private
ToolStripItemImageScaling
imageScaling =
ToolStripItemImageScaling
.SizeToFit;
1385
DefaultValue(
ToolStripItemImageScaling
.SizeToFit),
1389
public
ToolStripItemImageScaling
ImageScaling {
1395
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolStripItemImageScaling
.None, (int)
ToolStripItemImageScaling
.SizeToFit))
1397
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolStripItemImageScaling
));
1916
if (ImageScaling ==
ToolStripItemImageScaling
.SizeToFit) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
126
this.ImageScaling =
ToolStripItemImageScaling
.None;
1517
if (ownerItem.ImageScaling ==
ToolStripItemImageScaling
.SizeToFit) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
672
if (e.Item.ImageScaling ==
ToolStripItemImageScaling
.None) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
877
if (e.Item.ImageScaling ==
ToolStripItemImageScaling
.None) {
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
271
public new
ToolStripItemImageScaling
ImageScaling {