Binding.ConverterLanguage Binding.ConverterLanguage Binding.ConverterLanguage Binding.ConverterLanguage Property

Definition

Gets or sets a value that names the language to pass to any converter specified by the Converter property.

public : Platform::String ConverterLanguage { get; set; }
winrt::hstring ConverterLanguage();

void ConverterLanguage(winrt::hstring converterlanguage);
public string ConverterLanguage { get; set; }
Public ReadWrite Property ConverterLanguage As string
<Binding ConverterLanguage="string"/>

Property Value

string string

A string that names a language. Interpretation of this value is ultimately up to the converter logic.

Remarks

If a value for ConverterLanguage is specified, this value is used for the language value when invoking the converter logic. Specifically, this provides the value of the language parameter of the Convert or ConvertBack methods of the specific converter that is requested with the Converter property. By default and in the absence of ConverterLanguage being set, the value passed for language is an empty string.

You can't set the property values of a Binding object after that binding has been attached to a target element and target property. If you attempt this you'll get a run-time exception.

See also