15 references to LogicalToDeviceUnits
System.Windows.Forms (15)
misc\DpiHelper.cs (1)
481
Size deviceImageSize = DpiHelper.
LogicalToDeviceUnits
(logicalImage.Size, deviceDpi);
winforms\Managed\System\WinForms\Control.cs (1)
7745
return DpiHelper.
LogicalToDeviceUnits
(value, DeviceDpi);
winforms\Managed\System\WinForms\Cursor.cs (1)
637
picSize = DpiHelper.
LogicalToDeviceUnits
(picSize);
winforms\Managed\System\WinForms\MenuStrip.cs (1)
90
DpiHelper.
LogicalToDeviceUnits
(new Size(200, 24), DeviceDpi) :
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
302
this.ClientSize = DpiHelper.
LogicalToDeviceUnits
(clientSize);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
654
DpiHelper.
LogicalToDeviceUnits
(new Size(100, 25), DeviceDpi) :
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
243
dropDownArrowSize = DpiHelper.
LogicalToDeviceUnits
(dropDownArrowSizeUnscaled, ownerItem.DeviceDpi);
249
dropDownArrowSize = DpiHelper.
LogicalToDeviceUnits
(dropDownArrowSizeUnscaled);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
82
scaledDefaultImageSize = DpiHelper.
LogicalToDeviceUnits
(DefaultImageSize);
608
scaledDefaultImageSize = DpiHelper.
LogicalToDeviceUnits
(DefaultImageSize, newDpi);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
733
DpiHelper.
LogicalToDeviceUnits
(new Size(23, 23), DeviceDpi) :
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
182
scaledCheckMarkBitmapSize = DpiHelper.
LogicalToDeviceUnits
(checkMarkBitmapSize);
198
DpiHelper.
LogicalToDeviceUnits
(new Size(32, 19), DeviceDpi) :
681
scaledCheckMarkBitmapSize = DpiHelper.
LogicalToDeviceUnits
(checkMarkBitmapSize, value);
winforms\Managed\System\WinForms\TreeView.cs (1)
107
scaledStateImageSize = DpiHelper.
LogicalToDeviceUnits
(new Size(16, 16));