Back to Devexpress

SpellChecker.Check(Control) Method

windowsforms-devexpress-dot-xtraspellchecker-dot-spellchecker-dot-check-x28-system-dot-windows-dot-forms-dot-control-x29.md

latest4.3 KB
Original Source

SpellChecker.Check(Control) Method

Checks the specified control for spelling mistakes.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.XtraSpellChecker.v25.2.dll

NuGet Package : DevExpress.Win.SpellChecker

Declaration

csharp
public virtual void Check(
    Control editControl
)
vb
Public Overridable Sub Check(
    editControl As Control
)

Parameters

NameTypeDescription
editControlControl

A Control object representing a control to be checked for spelling mistakes.

|

Remarks

There are several types of controls already registered to be used with the XtraSpellChecker:

Objects of these types can be passed as a parameter to this method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Check(Control) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xtraspellchecker-getting-started-lesson-2-e2413/CS/WindowsApplication1/Form1.cs#L13

csharp
private void simpleButton1_Click(object sender, EventArgs e) {
    spellChecker1.Check(memoEdit1);
}

winforms-spreadsheet-spell-check-cell-text/CS/SpreadsheetSpellchecking/Form1.cs#L32

csharp
BarManager.SetPopupContextMenu(e.Editor, popupMenu);
    spellChecker.Check(e.Editor);
}

winforms-spellchecker-enable-in-text-box/CS/Form1.cs#L36

csharp
private void btnCheck_Click(object sender, EventArgs e) {
    spellChecker1.Check(memoEditToCheck);
}

xtraspellchecker-getting-started-lesson-2-e2413/VB/WindowsApplication1/Form1.vb#L15

vb
Private Sub simpleButton1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles simpleButton1.Click
    spellChecker1.Check(memoEdit1)
End Sub

winforms-spreadsheet-spell-check-cell-text/VB/SpreadsheetSpellchecking/Form1.vb#L37

vb
BarManager.SetPopupContextMenu(e.Editor, popupMenu)
    spellChecker.Check(e.Editor)
End If

winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L36

vb
Private Sub btnCheck_Click(ByVal sender As Object, ByVal e As EventArgs)
    spellChecker1.Check(memoEditToCheck)
End Sub

See Also

SpellChecker Class

SpellChecker Members

DevExpress.XtraSpellChecker Namespace