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

TcxCustomTextEditProperties.CharCase Property

Specifies the case of editor text.

#Declaration

Delphi
property CharCase: TEditCharCase read; write; default ecNormal;

#Property Value

Type Default
TEditCharCase ecNormal

#Remarks

Use the CharCase property to force the contents of an editor to assume a particular case.

All the possible values for this property are listed in the following table.

Value Meaning
ecLowerCase Text is converted to lower case.
ecNormal Text appears in the mixed case and no conversion occurs.
ecUpperCase Text is converted to upper case.

When the CharCase property is set to ecLowerCase or ecUpperCase, the case of characters is converted as a user types them into the editor. Changing the CharCase property to ecLowerCase or ecUpperCase changes the actual text contents, not just its appearance. Moreover, any case information is lost and can’t be recaptured by changing CharCase to ecNormal.

The default value of the CharCase property is ecNormal.

See Also