Visual.OnDpiChanged(DpiScale, DpiScale) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé lorsque l’indicateur DPI auquel cette vue est rendue change.
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)
Paramètres
- oldDpi
- DpiScale
Paramètre d’échelle DPI précédent.
- newDpi
- DpiScale
Nouveau paramètre de mise à l’échelle ppp.