GetIsEnabled Method
Collapse the table of content
Expand the table of content

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
)

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:
© 2016 Microsoft