語言

TextBox.IsTextPredictionEnabled 屬性

定義

取得或設定一個值,決定是否應啟用文字預測功能(「自動補全」)。

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" />

屬性值

Boolean

bool

true以 啟用文字預測功能,否則為 假。 預設值為 True。

備註

若使用者使用實體鍵盤裝置,則不會啟用文字預測。

TextBox 控制項內建文字預測功能,使用特定語言的字典。 將該值設 為 true 並不代表自訂類別會自動啟用該功能。

這個屬性不會影響日文或中文的輸入法編輯器(IME)。 即使這些語言的文本預測為 假,也能預測。

適用於

另請參閱