Edit

Share via


SpellCheck.GetIsEnabled(TextBoxBase) Method

Definition

Returns a value that indicates whether the spelling checker is enabled on the specified text-editing control.

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

Parameters

textBoxBase
TextBoxBase

The text-editing control to check. Example controls include TextBox and RichTextBox.

Returns

true if the spelling checker is enabled on the text-editing control; otherwise, false.

Exceptions

The textBoxBase is null.

Applies to