2 overrides of DeviceDpi
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
183
internal override int
DeviceDpi
{
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
669
internal override int
DeviceDpi
{
5 writes to DeviceDpi
System.Windows.Forms (5)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2013
button.
DeviceDpi
= DeviceDpi;
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
193
base.
DeviceDpi
= value;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
758
childItem.
DeviceDpi
= newDpi;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3507
DeviceDpi
= newDpi;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
678
base.
DeviceDpi
= value;
11 references to DeviceDpi
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ToolStripButton.cs (2)
185
return base.
DeviceDpi
;
192
if (base.
DeviceDpi
!= value) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
243
dropDownArrowSize = DpiHelper.LogicalToDeviceUnits(dropDownArrowSizeUnscaled, ownerItem.
DeviceDpi
);
244
scaledDropDownArrowPadding = DpiHelper.LogicalToDeviceUnits(dropDownArrowPadding, ownerItem.
DeviceDpi
);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
733
DpiHelper.LogicalToDeviceUnits(new Size(23, 23),
DeviceDpi
) :
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
671
return base.
DeviceDpi
;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
504
ScaleObjectSizesIfNeeded(item.
DeviceDpi
);
1052
ScaleObjectSizesIfNeeded(e.Item.
DeviceDpi
);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (3)
718
if (e.Item?.
DeviceDpi
!= previousDeviceDpi && DpiHelper.EnableToolStripPerMonitorV2HighDpiImprovements) {
719
previousDeviceDpi = e.Item.
DeviceDpi
;
720
ScaleArrowOffsetsIfNeeded(e.Item.
DeviceDpi
);