Skip to main content

RepositoryItemTextEdit.CharacterCasing Property

Gets or sets the character casing applied to the editor’s content.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(CharacterCasing.Normal)]
[DXCategory("Behavior")]
public virtual CharacterCasing CharacterCasing { get; set; }

Property Value

Type Default Description
CharacterCasing Normal

A CharacterCasing enumeration value specifying the character casing applied.

Remarks

If the CharacterCasing property is set to Upper or Lower, the editor’s current value is not immediately changed. The CharacterCasing setting will be in effect for newly entered values. New values will be automatically converted to lower case or upper case, according to the CharacterCasing setting.

The following options are available for the CharacterCasing property.

Property Value value Description
CharacterCasing.Normal No case conversions are applied to the editor’s content.
CharacterCasing.Upper The editor’s content is converted to uppercase.
CharacterCasing.Lower The editor’s content is converted to lowercase.

Note

When masks are used to enter values (see MaskProperties.EditMask), the CharacterCasing property does not affect the editor’s BaseEdit.EditValue value. To get the text representation of the edit value formatted according to the CharacterCasing setting, use the BaseEdit.Text property.

See Also