TextBox.IsTextPredictionEnabled Property

Definition

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

C#
public bool IsTextPredictionEnabled { get; set; }
XAML
<TextBox IsTextPredictionEnabled="bool" />

Property Value

Boolean

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.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also