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

TdxSpellCheckerDictionary.CheckCapitalization Property

Specifies whether a dictionary supports a case-sensitive search.

#Declaration

Delphi
property CheckCapitalization: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set the CheckCapitalization property to True, to perform a case-sensitive search of a specified word in a dictionary (see the HasWord method).

If case sensitivity is enabled, the following rules are applied:

  • A pattern is specified in lower case (for example, “bill”) – a lower-case, capitalized, and upper-case match is performed.

Namely, the following forms will be accepted: “bill”, “Bill”, “BILL”.

  • A pattern is capitalized (for example, “Bill”) – the search is performed for capitalized and upper-case words.

Namely, the following forms will be accepted: “Bill”, “BILL”.

  • A pattern is specified in upper case (for example, “AOL”) – an upper-case match is performed.

Namely, the following form will be accepted: “AOL”.

  • A pattern is specified in mixed case (for example, “FindText”) – the exact match and an upper-case match is performed.

Namely, the following forms will be accepted: “FindText”, “FINDTEXT”.

The default value of the CheckCapitalization property is False.

See Also