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

TdxCustomSpellChecker.IsValidWord(AnsiString) Method

Checks whether AWord is correct.

#Declaration

Delphi
function IsValidWord(const AWord: AnsiString): Boolean; overload;

#Parameters

Name Type
AWord AnsiString

#Returns

Type
Boolean

#Remarks

The IsValidWord method returns True, if AWord is found in the dictionary, or it is to be skipped (if specified via spelling options – see the SpellingOptions property).

The IsValidWord method raises the OnCheckWord event. If the OnCheckWord event is handled, the IsValidWord method doesn’t perform the default check (if the event’s AHandled parameter is True), and returns the result specified by the event’s AValid parameter.

See Also