33 references to IsScalingRequired
System.Windows.Forms (33)
misc\DpiHelper.cs (1)
191
if ((DpiHelper.
IsScalingRequired
|| enableDpiChangedMessageHandling) && IsDpiAwarenessValueSet())
winforms\Managed\System\WinForms\ComboBox.cs (1)
5927
if ((!isScalingInitialized && DpiHelper.
IsScalingRequired
) || DpiHelper.EnableDpiChangedMessageHandling) {
winforms\Managed\System\WinForms\Cursor.cs (1)
636
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
84
if (DpiHelper.
IsScalingRequired
) {
1544
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
47
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
86
if (DpiHelper.
IsScalingRequired
)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
200
if (DpiHelper.
IsScalingRequired
&& (b.Size.Width != iconsWidth || b.Size.Height != iconsHeight))
winforms\Managed\System\WinForms\ImageList.cs (1)
88
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
301
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
197
if (DpiHelper.
IsScalingRequired
) {
1654
if (DpiHelper.
IsScalingRequired
&& (image.Size.Width != normalButtonSize.Width || image.Size.Height != normalButtonSize.Height)) {
2449
if (DpiHelper.
IsScalingRequired
) {
4376
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (2)
80
if (DpiHelper.
IsScalingRequired
) {
85
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
615
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
180
if (DpiHelper.
IsScalingRequired
) {
330
if ((DpiHelper.
IsScalingRequired
|| DpiHelper.EnableDpiChangedHighDpiImprovements) && (b.Size.Width != iconsWidth || b.Size.Height != iconsHeight)) {
1111
else if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStrip.cs (1)
189
else if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
246
else if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
81
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
289
if (DpiHelper.
IsScalingRequired
) {
308
if (DpiHelper.
IsScalingRequired
) {
339
if (DpiHelper.
IsScalingRequired
&& (b.Size.Width != desiredIconSize.Width || b.Size.Height != desiredIconSize.Height))
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
37
if (DpiHelper.
IsScalingRequired
)
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
909
Rectangle bounds = DpiHelper.
IsScalingRequired
? new Rectangle(e.ImageRectangle.Left-2, (e.Item.Height - e.ImageRectangle.Height )/2- 1, e.ImageRectangle.Width+4, e.ImageRectangle.Height +2) :
1422
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
683
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
280
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\TreeView.cs (1)
106
if (DpiHelper.
IsScalingRequired
) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
88
if (DpiHelper.
IsScalingRequired
) {