SpellCheck.GetIsEnabled(TextBoxBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the spelling checker is enabled on the specified text-editing control.
public:
static bool GetIsEnabled(System::Windows::Controls::Primitives::TextBoxBase ^ textBoxBase);
public static bool GetIsEnabled (System.Windows.Controls.Primitives.TextBoxBase textBoxBase);
static member GetIsEnabled : System.Windows.Controls.Primitives.TextBoxBase -> bool
Public Shared Function GetIsEnabled (textBoxBase As TextBoxBase) As Boolean
Parameters
- textBoxBase
- TextBoxBase
The text-editing control to check. Example controls include TextBox and RichTextBox.
Returns
true
if the spelling checker is enabled on the text-editing control; otherwise, false
.
Exceptions
The textBoxBase
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.