Dela via


ApplicationView.VisibleBounds Property

Definition

Gets the visible region of the window (app view). The visible region is the region not occluded by chrome such as the status bar and app bar.

public:
 property Rect VisibleBounds { Rect get(); };
Rect VisibleBounds();
public Rect VisibleBounds { get; }
var rect = applicationView.visibleBounds;
Public ReadOnly Property VisibleBounds As Rect

Property Value

The visible region of the window (app view).

Remarks

Parts of a window (app view) can be covered up (occluded) by chrome, such as the status bar and the app bar. The non-occluded region is referred to as the visible bounds. Note that, when shown, the status bar and app bar occlude the window even if their opacity is not 100%.

Applies to