Visual.OnDpiChanged Method (DpiScale, DpiScale)
Called when the DPI at which this View is rendered changes.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- oldDpi
-
Type:
System.Windows.DpiScale
The previous DPI scale setting.
- newDpi
-
Type:
System.Windows.DpiScale
The new DPI scale setting.
.NET Framework
Available since 4.6.2
Available since 4.6.2
Show: