TextBox.IsTextPredictionEnabled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)。 即使這些語言的文本預測為 假,也能預測。