Window.Bounds Property
Definition
Gets a Rect value containing the height and width of the application window in units of effective (view) pixels.
Equivalent WinUI property: Microsoft.UI.Xaml.Window.Bounds.
public:
property Rect Bounds { Rect get(); };
Rect Bounds();
public Rect Bounds { get; }
var rect = window.bounds;
Public ReadOnly Property Bounds As Rect
Property Value
A value that reports the height and width of the application window.