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