Specifies the case of characters typed manually into a TextBox control.
Assembly: PresentationFramework (in PresentationFramework.dll)
The value of this enumeration does not affect characters that are added to a TextBox programmatically.
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <StackPanel> <!-- The CharacterCasing property of this TextBox is set to "Upper" which causes all manually typed characters to be converted to uppercase. --> <TextBox CharacterCasing="Upper" Width="100" /> </StackPanel> </Page>