IsKeyboardInputEnabled property

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.


public bool IsKeyboardInputEnabled { get; set; }

Property value

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

True if touch keyboard is enabled. Otherwise, false.


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

API contract


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


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


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



See also




© 2016 Microsoft