Back to Devexpress

CheckAsYouTypeOptions Class

windowsforms-devexpress-dot-xtraspellchecker-e44a232b.md

latest2.5 KB
Original Source

CheckAsYouTypeOptions Class

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

Declaration

csharp
public class CheckAsYouTypeOptions
vb
Public Class CheckAsYouTypeOptions

The following members return CheckAsYouTypeOptions objects:

Remarks

Use the SpellChecker.CheckAsYouTypeOptions property to access the CheckAsYouTypeOptions instance.

Example

View Example

csharp
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();
}
vb
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

Inheritance

Object CheckAsYouTypeOptions

See Also

CheckAsYouTypeOptions Members

DevExpress.XtraSpellChecker Namespace