New to Telerik UI for WinFormsStart a free 30-day trial

Localization

Updated on May 7, 2026

To localize RadPageView to display control text and messages in a specific language:

  • All required classes for localization are defined in the Telerik.WinControls.UI.Localization namespace.

  • Start by creating a descendant of the RadPageViewLocalizationProvider class.

  • Override the GetLocalizedString(string id) method and provide a translation for the label and user messages. If a translation is not provided, the default value will be returned. This behavior is guaranteed by the call to the base GetLocalizedString method in the default clause of the switch statement in the example.

Below is a sample implementation of a custom localization provider, which returns translations of the default values in German:

Localizing RadPageView strings

C#
public class MyEnglishRadPageViewLocalizationProvider : RadPageViewLocalizationProvider
{
    public override string GetLocalizedString(string id)
    {
        switch (id)
        {
            case RadPageViewStringId.CloseButtonTooltip:
                return "Close Selected Page";
            case RadPageViewStringId.ItemListButtonTooltip:
                return "Available Pages";
            case RadPageViewStringId.LeftScrollButtonTooltip:
                return "Scroll Strip Left";
            case RadPageViewStringId.RightScrollButtonTooltip:
                return "Scroll Strip Right";
            case RadPageViewStringId.ShowMoreButtonsItemCaption:
                return "Show More Buttons";
            case RadPageViewStringId.ShowFewerButtonsItemCaption:
                return "Show Fewer Buttons";
            case RadPageViewStringId.AddRemoveButtonsItemCaption:
                return "Add or Remove Buttons";
            case RadPageViewStringId.ItemCloseButtonTooltip:
                return "Close Page";
            case RadPageViewStringId.NewItemTooltipText:
                return "Add New Page";
        }

        return base.GetLocalizedString(id);
    }
}

To apply the custom localization provider, instantiate and assign it to the current localization provider:

Using the custom localization provider

C#
RadPageViewLocalizationProvider.CurrentProvider = new MyEnglishRadPageViewLocalizationProvider();

The code provided above illustrates the approach to be used to localize the RadPageView and is not intended as a full translation.

See Also

In this article
See Also
Not finding the help you need?
Contact Support