InputPaneVisibilityEventArgs InputPaneVisibilityEventArgs InputPaneVisibilityEventArgs InputPaneVisibilityEventArgs Class


Provides data for the input pane Hiding and Showing events.

public : sealed class InputPaneVisibilityEventArgs : IInputPaneVisibilityEventArgspublic sealed class InputPaneVisibilityEventArgs : IInputPaneVisibilityEventArgsPublic NotInheritable Class InputPaneVisibilityEventArgs Implements IInputPaneVisibilityEventArgs// You can use this class in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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

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


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).


EnsuredFocusedElementInView 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 : PlatForm::Boolean EnsuredFocusedElementInView { get; set; }public bool EnsuredFocusedElementInView { get; set; }Public ReadWrite Property EnsuredFocusedElementInView As bool// You can use this property in JavaScript.
PlatForm::Boolean bool bool bool

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


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.

See Also

OccludedRect 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// You can use this property in JavaScript.
Rect Rect Rect Rect

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