1 write to iconsHeight
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
86iconsHeight = (byte)DpiHelper.LogicalToDeviceUnitsY(DATAGRIDVIEWCELL_iconsHeight);
21 references to iconsHeight
System.Windows.Forms (21)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
436preferredSize.Height = Math.Max(preferredSize.Height, borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);
winforms\Managed\System\WinForms\DataGridViewCell.cs (8)
1250cellValueBounds.Height >= DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight) 1255cellValueBounds.Y + (cellValueBounds.Height - iconsHeight) / 2, 1257iconsHeight); 1545Bitmap scaledBitmap = DpiHelper.CreateResizedBitmap(b, new Size(iconsWidth, iconsHeight)); 4302cellValueBounds.Height >= DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight) 4316graphics.DrawImage(bmp, iconBounds, 0, 0, iconsWidth, iconsHeight, GraphicsUnit.Pixel); 4325cellValueBounds.Height >= DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight) 4328if (iconBounds.Width >= DATAGRIDVIEWCELL_iconMarginWidth && iconBounds.Height >= iconsHeight)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
859borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1487preferredSize.Height = Math.Max(preferredSize.Height, borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
596preferredSize.Height = Math.Max(preferredSize.Height, borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
756preferredSize.Height = Math.Max(preferredSize.Height, borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (7)
195Size desiredSize = new Size(iconsWidth, iconsHeight); 200if (DpiHelper.IsScalingRequired && (b.Size.Width != iconsWidth || b.Size.Height != iconsHeight)) 899valBounds.Height >= iconsHeight + 1046valBounds.Height >= iconsHeight + 2 * DATAGRIDVIEWROWHEADERCELL_iconMarginHeight) 1135bounds.Y + (bounds.Height - iconsHeight)/2, 1137iconsHeight); 1143g.DrawImage(bmp, bmpRect, 0, 0, iconsWidth, iconsHeight, GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
523preferredSize.Height = Math.Max(preferredSize.Height, borderAndPaddingHeights + DATAGRIDVIEWCELL_iconMarginHeight * 2 + iconsHeight);