WindowDensityChanged
Reports that a window's display scale changed, typically because it moved to a display with a different pixel density. pixelDensity is the window's Window.pixelDensity now.
The display scale also covers the system's content scale, so the density can equal the one reported before; compare it with the last known value before acting on it.