DpiHelper.GetDeviceWidth(Window) Méthode

Définition

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

Double

Largeur en unités de périphérique

S’applique à