DpiHelper.GetDeviceWidth(Window) 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.
Obtient la largeur de la fenêtre en unités de périphérique
public:
double GetDeviceWidth(System::Windows::Window ^ window);
public double GetDeviceWidth (System.Windows.Window window);
member this.GetDeviceWidth : System.Windows.Window -> double
Public Function GetDeviceWidth (window As Window) As Double
Paramètres
- window
- Window
Fenêtre à examiner
Retours
Largeur en unités de périphérique