CoreWindow.Bounds Property

Gets the bounding rectangle of the window.

Syntax

public:
property Rect Bounds {
         Rect get ();
}  

Property value

Type: Rect 

The bounding rectangle of the window, in device-independent pixels (DIPs).

Remarks

To convert from DIPs to physical pixels (and back), use these equations (where DPI is the dots per inch value for the screen):

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

CoreWindow Class

CoreWindow Members

Windows.UI.Core Namespace