DpiHelper.GetDeviceTop(Window) Método

Definição

Cuidado

Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.

Somente uso interno da Microsoft.

public:
[System::Runtime::CompilerServices::Extension]
 static double GetDeviceTop(System::Windows::Window ^ window);
public static double GetDeviceTop (this System.Windows.Window window);
[System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")]
public static double GetDeviceTop (this System.Windows.Window window);
static member GetDeviceTop : System.Windows.Window -> double
[<System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")>]
static member GetDeviceTop : System.Windows.Window -> double
<Extension()>
Public Function GetDeviceTop (window As Window) As Double

Parâmetros

window
Window

Janela para inspecionar

Retornos

Double

Coordenada superior nas unidades do dispositivo

Atributos

Aplica-se a