11 references to Height
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (6)
447preferredSize = new Size(0, Math.Min(ico.Height, decimal.ToInt32((decimal)ico.Height * icoWidthAllowed / ico.Width))); 476if (icoHeightAllowed <= 0 || ico!.Height == 0) 482preferredSize = new Size(Math.Min(ico.Width, decimal.ToInt32((decimal)ico.Width * icoHeightAllowed / ico.Height)), 0); 499preferredSize = new Size(ico.Width, ico.Height); 845image 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)
126if (icon.Height < rectangle.Height) 128rectangle.Y += (rectangle.Height - icon.Height) / 2; 129rectangle.Height = icon.Height;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
432return (icon.Width == width && icon.Height == height && !alwaysCreateNew) ? icon : new(icon, width, height);