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