OccludedRect | occludedRect property

InputPane.OccludedRect | occludedRect property

Gets the region of the app window obscured by the input pane.

Syntax


Public ReadOnly Property OccludedRect As Rect

Property value

Type: Rect

The rectangle, in client coordinates, representing the region of the app window hidden behind the input pane. Specified in device-independent pixels (DIPs).

A top value of "0" indicates that the app window is not obstructed by the input pane. The input pane might still be visible.

A height value of "0", and width value equal to the width of the input pane, indicates that the input pane is floating, but not obstructing the app window.

Remarks

Universal apps should use this property, rather than Visible.

Note  In some cases, overlay UI such as an InputPane is not fully supported. This includes:

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.winmd

See also

InputPane

 

 

Show:
© 2016 Microsoft