windowsforms-devexpress-dot-xtraspellchecker-e44a232b.md
Represents an object that contains various settings for the SpellCheckMode.AsYouType operation mode of the spell checker.
Namespace : DevExpress.XtraSpellChecker
Assembly : DevExpress.XtraSpellChecker.v25.2.dll
NuGet Package : DevExpress.Win.SpellChecker
public class CheckAsYouTypeOptions
Public Class CheckAsYouTypeOptions
The following members return CheckAsYouTypeOptions objects:
Use the SpellChecker.CheckAsYouTypeOptions property to access the CheckAsYouTypeOptions instance.
private void Form1_Load(object sender, EventArgs e)
{
// Set spell checking options.
spellChecker1.SpellCheckMode = DevExpress.XtraSpellChecker.SpellCheckMode.AsYouType;
spellChecker1.ParentContainer = this;
spellChecker1.CheckAsYouTypeOptions.CheckControlsInParentContainer = true;
// Set focus to the RichTextBox control to show red wavy lines under misspelled words.
richTextBox1.Select();
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
' Set spell checking options.
spellChecker1.SpellCheckMode = DevExpress.XtraSpellChecker.SpellCheckMode.AsYouType
spellChecker1.ParentContainer = Me
spellChecker1.CheckAsYouTypeOptions.CheckControlsInParentContainer = True
' Set focus to the RichTextBox control to show red wavy lines under misspelled words.
richTextBox1.Select()
End Sub
Object CheckAsYouTypeOptions
See Also