DpiHelper.GetDeviceWidth(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 double GetDeviceWidth(System::Windows::Window ^ window);
public static double GetDeviceWidth (this System.Windows.Window window);
[System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")]
public static double GetDeviceWidth (this System.Windows.Window window);
static member GetDeviceWidth : System.Windows.Window -> double
[<System.Obsolete("Use Microsoft.VisualStudio.Utilities.DpiAwareness instead.")>]
static member GetDeviceWidth : System.Windows.Window -> double
<Extension()>
Public Function GetDeviceWidth (window As Window) As Double
Parametreler
- window
- Window
İncelenecek pencere
Döndürülenler
Cihaz birimlerindeki Genişlik
- Öznitelikler