StringToLabelValueConverter

StockSharp.Xaml.Charting

TypeConverter to assist in transforming strings to LineAnnotation Labels

Hereda de: TypeConverter

Métodos

CanConvertFrom(ITypeDescriptorContext, Type) : bool

Returns whether the type converter can convert an object from the specified type to the type of this converter.

context
An object that provides a format context.
sourceType
The type you want to convert from.

Devuelve: true if this converter can perform the conversion; otherwise, false.

ConvertFrom(ITypeDescriptorContext, CultureInfo, object) : object

Converts from the specified value to the intended conversion type of the converter.

context
An object that provides a format context.
culture
The CultureInfo to use as the current culture.
value
The value to convert to the type of this converter.

Devuelve: The converted value.