LocalizationManager
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
public LocalizationManager()
Fields
ResourceKeyProperty
DependencyProperty
Identifies the ResourceKey attached property.
public static readonly DependencyProperty ResourceKeyProperty
Properties
A specific culture to follow.
public CultureInfo Culture { get; set; }
Default culture to follow if the specific one is null. This is an easy way to override the culture without instantiating a new manager.
public static CultureInfo DefaultCulture { get; set; }
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.
public static ResourceManager DefaultResourceManager { get; set; }
Holder of the only possible Localization Manager.
public static LocalizationManager Manager { get; set; }
Gets or sets specific resource manager.
public ResourceManager ResourceManager { get; set; }
Gets or sets whether the dynamic localization is enabled.
public static bool UseDynamicLocalization { get; set; }
Methods
Returns the value of the ResourceKey property related to the specified object.
public static string GetResourceKey(DependencyObject element)
The item to check.
Returns:Set the value of the ResourceKey property related to the specified object.
public static void SetResourceKey(DependencyObject element, string value)
The item to be initialized.
valuestringThe supplied value.
Events
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: