New to Telerik UI for WPFStart a free 30-day trial

A converter that uses a localized version of the provided parameter to format the binding value into string. Uses InvariantCulture.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

C#
public sealed class LocalizationConverter : IValueConverter

Inheritance: objectLocalizationConverter

Implements: IValueConverter

Constructors

C#
public LocalizationConverter()

Methods

Converts a localized version of the parameter using the LocalizationManager to format the value into string. Uses InvariantCulture.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value to convert.

targetTypeType

This parameter is not used.

parameterobject

A key used to find localized string format.

cultureCultureInfo

This parameter is not used.

Returns:

object

The localized string.

Not implemented.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object