Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SpellCheck.GetIsEnabled Method (TextBoxBase)

.NET Framework (current version)

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


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

The textBoxBase is null.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft