Windows Phone only. Gets or sets whether the on-screen keyboard is displayed to the user for text input.
Syntax
Property value
Type: System.Boolean [.NET] | Platform::Boolean [C++]
Whether the keyboard is displayed.
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 on-screen keyboard by setting IsKeyboardInputEnabled to true.
- 3. The user presses the back button, which closes the on-screen keyboard.
- 4. You read IsKeyboardInputEnabled and expect the value to be false (since the on-screen 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 on-screen keyboard is open.
Requirements
|
Minimum supported client | None supported |
|---|---|
|
Minimum supported server | None supported |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013