Visual.OnDpiChanged(DpiScale, DpiScale) Visual.OnDpiChanged(DpiScale, DpiScale) Visual.OnDpiChanged(DpiScale, DpiScale) Visual.OnDpiChanged(DpiScale, DpiScale) Method

定義

このビューが表示される DPI が変更するときに呼び出されます。Called when the DPI at which this View is rendered changes.

protected:
 virtual void OnDpiChanged(System::Windows::DpiScale oldDpi, System::Windows::DpiScale newDpi);
protected virtual void OnDpiChanged (System.Windows.DpiScale oldDpi, System.Windows.DpiScale newDpi);
abstract member OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -> unit
override this.OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -> unit
Protected Overridable Sub OnDpiChanged (oldDpi As DpiScale, newDpi As DpiScale)

パラメーター

oldDpi
DpiScale DpiScale DpiScale DpiScale

以前の DPI スケール設定。The previous DPI scale setting.

newDpi
DpiScale DpiScale DpiScale DpiScale

新規の DPI スケール設定。The new DPI scale setting.

適用対象