Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Image::OnDpiChanged Method (DpiScale, DpiScale)

 

Called when the DPI at which this Image is rendered changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnDpiChanged(
	DpiScale oldDpi,
	DpiScale newDpi
) override

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
Return to top
Show:
© 2017 Microsoft