Edit this page

Globalization Support

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

Figure 1: Full globalization support

The next example declares a RadMaskedCurrencyInput and a RadMaskedDateTimeInput 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 also the culture is changed to de-DE.

Example 1: Setting the Culture property

<Grid x:Name="LayoutRoot" Background="White">
        <TextBlock Margin="5 0" Text="Bulgarian Currency" />
        <telerik:RadMaskedCurrencyInput Margin="0,5,0,10" 
                                        Mask="c4" />
        <TextBlock Margin="5 0" Text="German DateTime Format" />
        <telerik:RadMaskedDateTimeInput Margin="0,5,0,10" 
                                        Mask="D" />

See Also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article