ComponentOne SpellChecker for WinForms
CheckControl(TextBoxBase) Method

C1.Win.C1SpellChecker.4 Assembly > C1.Win.C1SpellChecker Namespace > C1SpellChecker Class > CheckControl Method : CheckControl(TextBoxBase) Method
System.Windows.Forms.TextBoxBase control that contains the text to be spell-checked.
Shows a spell-checking dialog for an editor, returns the number of spelling errors found.
Syntax
'Declaration
 
Public Overloads Function CheckControl( _
   ByVal editor As System.Windows.Forms.TextBoxBase _
) As System.Integer
public System.int CheckControl( 
   System.Windows.Forms.TextBoxBase editor
)

Parameters

editor
System.Windows.Forms.TextBoxBase control that contains the text to be spell-checked.

Return Value

The number of errors found, -1 if the dialog was canceled.
See Also

Reference

C1SpellChecker Class
C1SpellChecker Members
Overload List