Binding.ConverterLanguage property

Applies to Windows and Windows Phone

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

Syntax


public string ConverterLanguage { get; set; }


<Binding ConverterLanguage="string"/>

Property value

Type: System.String [.NET] | Platform::String [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

Binding
Converter
Convert
XAML data binding sample
Data binding overview

 

 

Show:
© 2014 Microsoft