Class LabelFormatConverter
Formats the value for a chart label.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class LabelFormatConverter : Object, IValueConverter
Constructors
LabelFormatConverter()
Declaration
public LabelFormatConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The value produced by the binding source. |
System.Type
targetType
The type of the binding target property. |
System.Object
parameter
The converter parameter to use. |
System.Globalization.CultureInfo
culture
The culture to use in the converter. |
Returns
System.Object
A converted value. If the method returns null, the valid null value is used. |
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
|
GetFormatString(IFormattableData, DataSeries)
Gets the format string.
Declaration
protected virtual string GetFormatString(IFormattableData data, DataSeries series)
Parameters
IFormattableData
data
The data. |
DataSeries
series
The series. |
Returns
System.String
|