DpiHelper.GetDeviceHeight(Window) Метод

Определение

Внимание!

Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.

Только для внутреннего использования в корпорации Майкрософт.

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

Параметры

window
Window

Окно для проверки

Возвращаемое значение

Double

Высота в единицах устройства

Атрибуты

Применяется к