TextBox.IsTextPredictionEnabled Property

Definition

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

public:
 property bool IsTextPredictionEnabled { bool get(); void set(bool value); };
bool IsTextPredictionEnabled();

void IsTextPredictionEnabled(bool value);
public bool IsTextPredictionEnabled { get; set; }
var boolean = textBox.isTextPredictionEnabled;
textBox.isTextPredictionEnabled = boolean;
Public Property IsTextPredictionEnabled As Boolean
<TextBox IsTextPredictionEnabled="bool" />

Property Value

Boolean

bool

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

See also