SpellCheck::GetIsEnabled Method (TextBoxBase^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static bool GetIsEnabled(
	TextBoxBase^ textBoxBase
)

Parameters

textBoxBase
Type: System.Windows.Controls.Primitives::TextBoxBase^

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

Return Value

Type: System::Boolean

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

Exception Condition
ArgumentNullException

The textBoxBase is null.

.NET Framework
Available since 4.0
Return to top
Show: