2 overrides of DeviceDpi
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
142
internal override int
DeviceDpi
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
545
internal override int
DeviceDpi
4 writes to DeviceDpi
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
149
base.
DeviceDpi
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
794
childItem.
DeviceDpi
= newDpi;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3106
DeviceDpi
= newDpi;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
554
base.
DeviceDpi
= value;
9 references to DeviceDpi
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (2)
144
get => base.
DeviceDpi
;
147
if (base.
DeviceDpi
!= value)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
22
int dpi = ownerItem.
DeviceDpi
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
681
ScaleHelper.ScaleToDpi(new Size(23, 23),
DeviceDpi
) :
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
560
ScaleObjectSizesIfNeeded(item.
DeviceDpi
);
1213
ScaleObjectSizesIfNeeded(e.Item.
DeviceDpi
);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (3)
625
if (e.Item is not null && e.Item.
DeviceDpi
!= _previousDeviceDpi && ScaleHelper.IsThreadPerMonitorV2Aware)
627
_previousDeviceDpi = e.Item.
DeviceDpi
;
628
ScaleArrowOffsetsIfNeeded(e.Item.
DeviceDpi
);