alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ChatLocalizationResourceExtension

    A markup extension that returns the localized string based on culture for the ResourceName.

    Inheritance
    System.Object
    ChatLocalizationResourceExtension
    Namespace: Syncfusion.UI.Xaml.Chat
    Assembly: Syncfusion.SfChat.Wpf.dll
    Syntax
    public class ChatLocalizationResourceExtension : MarkupExtension

    Constructors

    ChatLocalizationResourceExtension()

    Declaration
    public ChatLocalizationResourceExtension()

    Properties

    ResourceName

    Gets or sets the resource name to get the localized string.

    Declaration
    public string ResourceName { get; set; }
    Property Value
    Type
    System.String

    Methods

    ProvideValue(IServiceProvider)

    Returns the localized string value associated with the specified resource name.

    Declaration
    public override object ProvideValue(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    System.IServiceProvider serviceProvider

    The service provider used to obtain the value.

    Returns
    Type Description
    System.Object

    The localized string from the resource accessor.

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