ClassLocalizationManager
A localization manager class.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class LocalizationManager : INotifyPropertyChanged
Inheritance: objectLocalizationManager
Derived Classes:
Implements:
Constructors
LocalizationManager()
Declaration
public LocalizationManager()
Fields
ResourceKeyProperty
Identifies the ResourceKey attached property.
Declaration
public static readonly DependencyProperty ResourceKeyProperty
Field Value
DependencyProperty
Properties
Culture
A specific culture to follow.
DefaultCulture
Default culture to follow if the specific one is null. This is an easy way to override the culture without instantiating a new manager.
Declaration
public static CultureInfo DefaultCulture { get; set; }
Property Value
DefaultResourceManager
Default resource manager to follow if the specific one is null. This is an easy way to override the resource manager without instantiating a new manager.
Declaration
public static ResourceManager DefaultResourceManager { get; set; }
Property Value
Manager
Holder of the only possible Localization Manager.
Declaration
public static LocalizationManager Manager { get; set; }
Property Value
ResourceManager
Gets or sets specific resource manager.
Declaration
public ResourceManager ResourceManager { get; set; }
Property Value
UseDynamicLocalization
Gets or sets whether the dynamic localization is enabled.
Declaration
public static bool UseDynamicLocalization { get; set; }
Property Value
Methods
GetResourceKey(DependencyObject)
Returns the value of the ResourceKey property related to the specified object.
Declaration
public static string GetResourceKey(DependencyObject element)
Parameters
element
DependencyObject
The item to check.
Returns
GetString(string)
Returns a string related to the specified key.
GetStringOverride(string)
Returns a string related to the specified key and culture.
SetResourceKey(DependencyObject, string)
Set the value of the ResourceKey property related to the specified object.
Declaration
public static void SetResourceKey(DependencyObject element, string value)
Parameters
element
DependencyObject
The item to be initialized.
value
The supplied value.
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements