Windows.UI.Xaml.Controls.TextBox.IsTextPredictionEnabled

June 22, 2022 ยท View on GitHub

-description

Gets or sets a value that determines whether text prediction features ("autocomplete") should be enabled for this TextBox.

-xaml-syntax

<TextBox IsTextPredictionEnabled="bool" />

-property-value

true to enable text prediction features, otherwise, false. The default is true.

-remarks

Text prediction is not enabled if the user is using a physical keyboard device.

Text prediction is built-in for theTextBox control, using language-specific dictionaries. Setting the value to true doesn't automatically enable the feature on a custom class.

This property doesn't affect Input Method Editor (IME) for Japanese or Chinese languages. Text prediction for these languages is shown even if this property is false.

-examples

-see-also

Touch keyboard text input sample (Windows 10)