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 表示啟用文字預測功能,否則為 false。 預設值為 True。
備註
如果使用者使用實體鍵盤裝置,則不會啟用文字預測。
文字預測是使用特定語言字典的TextBox 控件內建的。 將值設定為 true 不會自動啟用自訂類別上的功能。
此屬性不會影響日文或中文的輸入法 編輯器 (輸入法) 。 即使此屬性為 false,也會顯示這些語言的文字預測。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應