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

要檢查的文字編輯控制項。 範例控制項包括 TextBoxRichTextBox

傳回

如果文字編輯控制項上已啟用拼字檢查程式則為 true,否則為 false

例外狀況

textBoxBasenull

適用於