InputPane.TryHide Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual bool TryHide() = TryHide;
bool TryHide();
public bool TryHide();
function tryHide()
Public Function TryHide () As Boolean
Returns
Boolean
bool
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.
Remarks
If you set CoreTextEditContext.InputPaneDisplayPolicy to Manual in your app, you are responsible for showing and hiding the input pane using TryShow and TryHide.