語言

TextBox.IsSpellCheckEnabled 屬性

定義

取得或設定一個值,指定 TextBox 輸入是否與拼字檢查引擎互動。

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

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

屬性值

Boolean

bool

若 TextBox 輸入與拼字檢查引擎互動,則為 true;否則,則為錯誤。 預設值為 True。

備註

使用軟輸入面板(SIP)時,此特性可啟用以下功能:

  • 自動電容(僅限行動裝置)
  • 拼字檢查
  • 自動修正
  • 當使用者點擊拼錯字時,按需拼寫候選者

Windows 8 適用於通用 Windows 8 應用程式,預設值為 false。

適用於

另請參閱