Back to Devexpress

RepositoryItemTextEdit.CharacterCasing Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtextedit-a318bc7d.md

latest2.8 KB
Original Source

RepositoryItemTextEdit.CharacterCasing Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(CharacterCasing.Normal)]
[DXCategory("Behavior")]
public virtual CharacterCasing CharacterCasing { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(CharacterCasing.Normal)>
Public Overridable Property CharacterCasing As CharacterCasing

Property Value

TypeDefaultDescription
CharacterCasingNormal

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 valueDescription
CharacterCasing.NormalNo case conversions are applied to the editor’s content.
CharacterCasing.UpperThe editor’s content is converted to uppercase.
CharacterCasing.LowerThe 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

Text

RepositoryItemTextEdit Class

RepositoryItemTextEdit Members

DevExpress.XtraEditors.Repository Namespace