TextBox.PreventKeyboardDisplayOnProgrammaticFocus TextBox.PreventKeyboardDisplayOnProgrammaticFocus TextBox.PreventKeyboardDisplayOnProgrammaticFocus TextBox.PreventKeyboardDisplayOnProgrammaticFocus Property

Definition

Gets or sets a value that indicates whether the on-screen keyboard is shown when the control receives focus programmatically.

public : Platform::Boolean PreventKeyboardDisplayOnProgrammaticFocus { get; set; }
bool PreventKeyboardDisplayOnProgrammaticFocus();

void PreventKeyboardDisplayOnProgrammaticFocus(bool preventkeyboarddisplayonprogrammaticfocus);
public bool PreventKeyboardDisplayOnProgrammaticFocus { get; set; }
Public ReadWrite Property PreventKeyboardDisplayOnProgrammaticFocus As bool
<TextBox PreventKeyboardDisplayOnProgrammaticFocus="bool"/>

Property Value

bool bool

true if the on-screen keyboard is not shown when the control receives focus programmatically; otherwise, false. The default is false.

Remarks

Set this property to true to prevent the onscreen touch keyboard from showing when focus is programmatically set on a text box. By default, the onscreen touch keyboard is displayed whenever focus moves to an editable text box and the most recent input was generated by touch. This happens whether focus is set programmatically or by user interaction. In some situations, you might not want the keyboard to show when focus is set programmatically. For example, you might want to prevent the keyboard from covering part of your UI until the user is ready to continue their interaction.