Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpellCheckerOptions Class

Contains options that specify how the spell checker should process text in any range of the document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[ComVisible(true)]
public class SpellCheckerOptions :
    RichEditNotificationOptions

The following members return SpellCheckerOptions objects:

#Remarks

A document may contain text ranges for which a proofing language is specified, or the ranges can be marked as “no-proof”. The “no-proof” means that the contents of this range should not be checked by spelling and grammar proofing tools.

End-users can invoke the Language Dialog to set the spelling check language of the selected text.

You can use the CharacterPropertiesBase.Language and CharacterPropertiesBase.NoProof properties to specify these options in code for any document range. The RichEditControlOptionsBase.SpellChecker property provides access to the SpellCheckerOptions instance and allows you to set proofing options for the entire document. In other words, when you set the SpellCheckerOptions.IgnoreNoProof to true, no part of the document can avoid spelling check.

See Also