C# Class WPFUtils.Translation.TranslateExtension

The Translate Markup extension returns a binding to a TranslationData that provides a translated resource of the specified key
Inheritance: System.Windows.Markup.MarkupExtension
Exibir arquivo Open project: BravoAlpha/WPFUtils

Private Properties

Property Type Description

Public Methods

Method Description
ProvideValue ( IServiceProvider serviceProvider ) : object
TranslateExtension ( ) : System
TranslateExtension ( string key ) : System

Initializes a new instance of the TranslateExtension class.

Method Details

ProvideValue() public method

public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
return object

TranslateExtension() public method

public TranslateExtension ( ) : System
return System

TranslateExtension() public method

Initializes a new instance of the TranslateExtension class.
public TranslateExtension ( string key ) : System
key string The key.
return System