-api-id | -api-type |
---|---|
M:Windows.UI.ViewManagement.InputPane.TryHide |
winrt method |
Tries to hide the InputPane, if it is visible.
true if the request to hide the InputPane was accepted; otherwise false.
If this method is called from an app that is not in foreground, the request is rejected and false is returned.
If you set CoreTextEditContext.InputPaneDisplayPolicy to Manual in your app, you are responsible for showing and hiding the input pane using TryShow and TryHide.