menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class LocalizationResourceAccessor - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LocalizationResourceAccessor

    Provides access to localization resources.

    Inheritance
    System.Object
    LocalizationResourceAccessor
    SfCartesianChartResources
    SfCircularChartResources
    SfCalendarResources
    SfNumericEntryResources
    SfPickerResources
    SfPopupResources
    SfSegmentedResources
    Namespace: Syncfusion.Maui.Toolkit.Localization
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public class LocalizationResourceAccessor : Object

    Constructors

    LocalizationResourceAccessor()

    Declaration
    public LocalizationResourceAccessor()

    Properties

    ResourceManager

    Gets or sets the resource manager.

    Declaration
    public static ResourceManager ResourceManager { get; set; }
    Property Value
    Type Description
    System.Resources.ResourceManager

    The resource manager.

    Methods

    GetString(String)

    Gets the localized string.

    Declaration
    public static string GetString(string text)
    Parameters
    Type Name Description
    System.String text

    Text type

    Returns
    Type Description
    System.String

    The string.

    InitializeDefaultResource(String, Type)

    Initializes the default localization resource with the specified base name.

    Declaration
    public static void InitializeDefaultResource(string baseName, Type resourceType = null)
    Parameters
    Type Name Description
    System.String baseName

    The base name of the resource to initialize.

    System.Type resourceType

    The optional type used to determine the assembly where resources are located. Defaults to the calling assembly if not specified.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved