New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a class that manages application string resources.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class TelerikLocalizationManager : ILocalizationManager

Inheritance: objectTelerikLocalizationManager

Implements: ILocalizationManager

Constructors

Initializes a new instance of the TelerikLocalizationManager class.

C#
public TelerikLocalizationManager()

Properties

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.

C#
public static ResourceManager DefaultResourceManager { get; }

Gets or sets the current localization manager instance.

C#
public static ILocalizationManager Manager { get; set; }

Gets or sets specific resource manager.

C#
public ResourceManager ResourceManager { get; set; }

Implements: ILocalizationManager.ResourceManager

Methods

Returns a string related to the specified key and culture.

C#
public virtual string GetString(string key)
Parameters:keystring

The key.

Returns:

string

A value relative to the specified key.

Implements: ILocalizationManager.GetString(string)