11 references to Height
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (6)
447
preferredSize = new Size(0, Math.Min(ico.
Height
, decimal.ToInt32((decimal)ico.
Height
* icoWidthAllowed / ico.Width)));
476
if (icoHeightAllowed <= 0 || ico!.
Height
== 0)
482
preferredSize = new Size(Math.Min(ico.Width, decimal.ToInt32((decimal)ico.Width * icoHeightAllowed / ico.
Height
)), 0);
499
preferredSize = new Size(ico.Width, ico.
Height
);
845
image is null ? icon!.
Height
: image.Height,
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
454
_provider.Icon = new Icon(icon, (int)(icon.Width * factor), (int)(icon.
Height
* factor));
System.Windows.Forms.Design (3)
System\Drawing\Design\IconEditor.cs (3)
126
if (icon.
Height
< rectangle.Height)
128
rectangle.Y += (rectangle.Height - icon.
Height
) / 2;
129
rectangle.Height = icon.
Height
;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
432
return (icon.Width == width && icon.
Height
== height && !alwaysCreateNew) ? icon : new(icon, width, height);