Export (0) Print
Expand All

SpellCheck.GetIsEnabled Method

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentNullException

The textBoxBase is null.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft