ICoreWindow.Bounds Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the property that gets the bounding rectangle of the window.
public:
property Rect Bounds { Rect get(); };
Rect Bounds();
public Rect Bounds { get; }
var rect = iCoreWindow.bounds;
Public ReadOnly Property Bounds As Rect
Property Value
The bounding rectangle of the window, in device-independent pixel (DIP).
Remarks
To convert from device-independent pixel (DIP) to physical pixels (and back), use the following equations (where DPI is the dots per inch value for the screen):
- DIP value = (physical pixel x 96) / DPI
- physical pixel value = (DIP x DPI) / 96
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin