InputPaneVisibilityEventArgs InputPaneVisibilityEventArgs InputPaneVisibilityEventArgs Class

Definition

Provides data for the input pane Hiding and Showing events.

Note

In some cases, overlay UI such as an InputPane is not fully supported. This includes:+ apps in full-screen mode.

public sealed class InputPaneVisibilityEventArgs : IInputPaneVisibilityEventArgspublic sealed class InputPaneVisibilityEventArgs : IInputPaneVisibilityEventArgsPublic NotInheritable Class InputPaneVisibilityEventArgs Implements IInputPaneVisibilityEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Your app receives this class in its Hiding and Showing event handlers.

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Properties

EnsuredFocusedElementInView EnsuredFocusedElementInView EnsuredFocusedElementInView

Identifies whether the application has taken steps to ensure that the input pane doesn't cover the UI element that has focus.

public bool EnsuredFocusedElementInView { get; set; }public bool EnsuredFocusedElementInView { get; set; }Public ReadWrite Property EnsuredFocusedElementInView As bool
Value
bool bool bool

True if the application has ensured that the input pane isn't covering the UI element that has focus; otherwise false.

Attributes

Remarks

If this property is false, Windows ensures that the input pane doesn't cover the focused element.

If you do the work to ensure that the focused element isn't covered, be sure to set this property to true to prevent Windows from trying to do the same work; otherwise, the results can be unpredictable.

In some cases, overlay UI such as an InputPane is not fully supported. This includes:+ apps in full-screen mode.

See Also

OccludedRect OccludedRect OccludedRect

Gets the region of the application's window that the input pane is covering.

public Rect OccludedRect { get; }public Rect OccludedRect { get; }Public ReadOnly Property OccludedRect As Rect
Value
Rect Rect Rect

The window region that the input pane is covering, in client coordinates specified in device independent pixels (DIPs).

Attributes

Remarks

In some cases, overlay UI such as an InputPane is not fully supported. This includes:+ apps in full-screen mode.