New to Telerik UI for WinUI? Download free 30-day trial


The RadMaskedInput controls provide full globalization support out-of-the-box through the Culture property.

The next example declares two RadMaskedInput controls. The first one is used for entering Bulgarian currency - the culture is set to bg-BG. The second one is used for entering DateTime data and its culture is changed to de-DE.

Example 1: Defining the masked input controls

    <input:RadMaskedNumericInput x:Name="bulgarianCurrencyInput" Header="Bulgarian Currency" Mask="c4" /> 
    <input:RadMaskedDateTimeInput x:Name="germanDateTimeInput" Header="German DateTime" Mask="D" /> 

Example 2: Setting the Culture property

this.bulgarianCurrencyInput.Culture = new System.Globalization.CultureInfo("bg-BG"); 
this.germanDateTimeInput.Culture = new System.Globalization.CultureInfo("de-DE"); 
WinUI RadMaskedInput RadMaskedInput Globalization

See Also

In this article
Not finding the help you need?