Class LocalizationProvider<T>
This class is used as a base class for all Localization Provider classes used in RadControls.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Localization
Assembly: Telerik.WinControls.dll
Syntax
public abstract class LocalizationProvider<T>
where T : class, new()
Type Parameters
T
|
Constructors
LocalizationProvider()
Declaration
protected LocalizationProvider()
Properties
Culture
Gets a CultureInfo object corresponding to the current localization provider.
Declaration
public virtual CultureInfo Culture { get; }
Property Value
System.Globalization.CultureInfo
|
CurrentProvider
Gets or sets the current localization provider.
Declaration
public static T CurrentProvider { get; set; }
Property Value
T
|
Methods
CreateDefaultLocalizationProvider()
Creates a default localization provider.
Declaration
public static T CreateDefaultLocalizationProvider()
Returns
T
A new instance of the default localization provider. |
GetLocalizedString(String)
Gets the string corresponding to the given ID.
Declaration
public abstract string GetLocalizedString(string id)
Parameters
System.String
id
String ID |
Returns
System.String
The string corresponding to the given ID. |
Events
CurrentProviderChanged
Fires when the current localization provider has changed.
Declaration
public static event EventHandler CurrentProviderChanged
Event Type
System.EventHandler
|