語言

SpellCheck.GetIsEnabled(TextBoxBase) 方法

定義

回傳一個值,指示指定的文字編輯控制項是否啟用拼字檢查器。

public:
 static bool GetIsEnabled(System::Windows::Controls::Primitives::TextBoxBase ^ textBoxBase);
public static bool GetIsEnabled(System.Windows.Controls.Primitives.TextBoxBase textBoxBase);
static member GetIsEnabled : System.Windows.Controls.Primitives.TextBoxBase -> bool
Public Shared Function GetIsEnabled (textBoxBase As TextBoxBase) As Boolean

參數

textBoxBase
TextBoxBase

用文字編輯控制來檢查。 範例控制包括 TextBox 和 RichTextBox。

傳回

true如果文字編輯控制項啟用拼字檢查;否則,。 false

例外狀況

textBoxBase 是 null。

適用於