Localization is the process of making application multilingual by formatting the content according to the cultures. MessageBoxAdv control can be localized in any Languages, based on application requirement by following below steps.
Step 1: Need to initialize the LocalizationProvider class, inherited from ILocalizationProvider Interface, before the InitializeComponent call in the constructor of the application.
Step 2: It will add the GetLocalizedString function in the LocalizationProvider class. In that it is needed to provide the Localization content, for the required components used in MessageBoxAdv control.
Here, MessageBoxAdv control is localized in German Language.
The following Code sample demonstrates the same.
Figure 1: localization.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|