GetIsEnabled Method

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