Jaa


TextBox.CharacterCasing Property

Definition

Gets or sets a value that indicates how the control modifies the case of characters as they are typed.

public:
 property CharacterCasing CharacterCasing { CharacterCasing get(); void set(CharacterCasing value); };
CharacterCasing CharacterCasing();

void CharacterCasing(CharacterCasing value);
public CharacterCasing CharacterCasing { get; set; }
var characterCasing = textBox.characterCasing;
textBox.characterCasing = characterCasing;
Public Property CharacterCasing As CharacterCasing
<TextBox CharacterCasing="characterCasingValue"/>

Property Value

A value of the enumeration that indicates how the control modifies the case of characters as they are typed. The default is Normal, which indicates that the charcters are not changed.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Note

This property modifies the case of characters as they are typed. It doesn’t modify characters that are entered in other ways, like paste or ink.

Applies to