Class LocalizationResourceAccessor
Represents the class that manages the localization for syncfusion controls.
Inheritance
System.Object
LocalizationResourceAccessor
Namespace: Syncfusion.UI.Xaml.Core
Assembly: Syncfusion.Core.WinUI.dll
Syntax
public abstract class LocalizationResourceAccessor : Object
Constructors
LocalizationResourceAccessor()
Initializes new instance of LocalizationResourceAccessor.
Declaration
public LocalizationResourceAccessor()
Properties
CustomResourceMap
Gets or sets the custom resource map.
Declaration
public ResourceMap CustomResourceMap { get; set; }
Property Value
Type |
---|
Windows.ApplicationModel.Resources.Core.ResourceMap |
DefaultResourceMap
Gets the default resource map of the controls in the assembly.
Declaration
protected ResourceMap DefaultResourceMap { get; set; }
Property Value
Type |
---|
Windows.ApplicationModel.Resources.Core.ResourceMap |
Methods
GetLocalizedStringResource(String)
Returns to localized string based on System.Globalization.CultureInfo.CurrentUICulture.
Declaration
public virtual string GetLocalizedStringResource(string resourcename)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourcename | Resource name to get localized string. |
Returns
Type | Description |
---|---|
System.String | Localized string resource. |