Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CoreWindow.IsKeyboardInputEnabled property

[IsKeyboardInputEnabled may be altered or unavailable for releases after Windows Phone 8.1 GDR2. ]

Windows Phone Silverlight only: Gets or sets whether the touch keyboard is displayed to the user for text input.

Syntax


Public Property IsKeyboardInputEnabled As Boolean

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if touch keyboard is enabled. Otherwise, false.

Remarks

If all of the following conditions occur, the value of the IsKeyboardInputEnabled property might not be accurate:

1. You use the default buffer. (For example, you do not provide your own KeyboardInputBuffer.)
2. You programmatically open the touch keyboard by setting IsKeyboardInputEnabled to true.
3. The user presses the back button, which closes the touch keyboard.
4. You read IsKeyboardInputEnabled and expect the value to be false (since the touch keyboard was closed), but the value is true.

There are multiple workarounds for this scenario:

  • Do not use the default buffer.
  • Do not use IsKeyboardInputEnabled.
  • Listen to the Hiding event and set IsKeyboardInputEnabled to false.
  • Use the OccludedRect property to see if the touch keyboard is open.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

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

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 GDR2

Namespace

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

Metadata

Windows.winmd

See also

CoreWindow

 

 

Show:
© 2015 Microsoft