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

Culture

The RadMaskedInput control provides 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

<StackPanel> 
    <telerik:RadMaskedInput Header="Bulgarian Currency" MaskType="Numeric" Mask="c4" /> 
    <telerik:RadMaskedInput Header="German DateTime" MaskType="DateTime" Mask="D" /> 
</StackPanel> 

Example 2: Setting the Culture property

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

See Also

In this article
Not finding the help you need?