Class
LocalizationManager

A localization manager class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class LocalizationManager : INotifyPropertyChanged

Inheritance: objectLocalizationManager

Derived Classes: ScheduleViewLocalizationManager

Implements: INotifyPropertyChanged

Constructors

LocalizationManager()

Declaration

cs-api-definition
public LocalizationManager()

Fields

ResourceKeyProperty

Identifies the ResourceKey attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ResourceKeyProperty

Field Value

DependencyProperty

Properties

Culture

A specific culture to follow.

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

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

cs-api-definition
public static CultureInfo DefaultCulture { get; set; }

Property Value

CultureInfo

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

cs-api-definition
public static ResourceManager DefaultResourceManager { get; set; }

Property Value

ResourceManager

Manager

Holder of the only possible Localization Manager.

Declaration

cs-api-definition
public static LocalizationManager Manager { get; set; }

Property Value

LocalizationManager

ResourceManager

Gets or sets specific resource manager.

Declaration

cs-api-definition
public ResourceManager ResourceManager { get; set; }

Property Value

ResourceManager

UseDynamicLocalization

Gets or sets whether the dynamic localization is enabled.

Declaration

cs-api-definition
public static bool UseDynamicLocalization { get; set; }

Property Value

bool

Methods

GetResourceKey(DependencyObject)

Returns the value of the ResourceKey property related to the specified object.

Declaration

cs-api-definition
public static string GetResourceKey(DependencyObject element)

Parameters

element

DependencyObject

The item to check.

Returns

string

GetString(string)

Returns a string related to the specified key.

Declaration

cs-api-definition
public static string GetString(string key)

Parameters

key

string

The key.

Returns

string

GetStringOverride(string)

Returns a string related to the specified key and culture.

Declaration

cs-api-definition
public virtual string GetStringOverride(string key)

Parameters

key

string

The key.

Returns

string

A value relative to the specified key.

SetResourceKey(DependencyObject, string)

Set the value of the ResourceKey property related to the specified object.

Declaration

cs-api-definition
public static void SetResourceKey(DependencyObject element, string value)

Parameters

element

DependencyObject

The item to be initialized.

value

string

The supplied value.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged