StringToDoubleArrayTypeConverter

StockSharp.Xaml.Charting.Common.Databinding

Used to convert strings in XAML e.g. '0 1 2' to float arrays, for instance, see the StrokeDashArray property which uses this converter type

継承元: TypeConverter

メソッド

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.

戻り値: 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.

戻り値: The converted value.