Class LocalizationConverter
A converter that uses a localized version of the provided parameter to format the binding value into string. Uses System.Globalization.CultureInfo.InvariantCulture.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Pivot.dll
Syntax
public sealed class LocalizationConverter : Object, IValueConverter
Constructors
LocalizationConverter()
Declaration
public LocalizationConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a localized version of the parameter
using the LocalizationManager to format the value
into string. Uses System.Globalization.CultureInfo.InvariantCulture.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The value to convert. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
A key used to find localized string format. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
The localized string. |
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|