DpiHelper.GetDeviceRect(Window) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.
Yalnızca Microsoft dahili kullanımı.
public:
[System::Runtime::CompilerServices::Extension]
static System::Windows::Rect GetDeviceRect(System::Windows::Window ^ window);
public static System.Windows.Rect GetDeviceRect (this System.Windows.Window window);
[System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")]
public static System.Windows.Rect GetDeviceRect (this System.Windows.Window window);
static member GetDeviceRect : System.Windows.Window -> System.Windows.Rect
[<System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")>]
static member GetDeviceRect : System.Windows.Window -> System.Windows.Rect
<Extension()>
Public Function GetDeviceRect (window As Window) As Rect
Parametreler
- window
- Window
İncelenecek pencere
Döndürülenler
Cihaz birimlerinde Pencere dikdörtgeni
- Öznitelikler