menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewLocalizationResourceExtension - API Reference

    Show / Hide Table of Contents

    Class TreeViewLocalizationResourceExtension

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

    Inheritance
    System.Object
    TreeViewLocalizationResourceExtension
    Namespace: Syncfusion.UI.Xaml.TreeView
    Assembly: Syncfusion.SfTreeView.WPF.dll
    Syntax
    public class TreeViewLocalizationResourceExtension : MarkupExtension

    Constructors

    TreeViewLocalizationResourceExtension()

    Declaration
    public TreeViewLocalizationResourceExtension()

    Properties

    ResourceName

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

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

    Methods

    ProvideValue(IServiceProvider)

    When implemented in a derived class, returns an object that is set as the value of the target property for this markup extension.

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

    Object that can provide services for the markup extension.

    Returns
    Type Description
    System.Object

    The object value to set on the property where the extension is applied.

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