MarginTypeConverter

Converts a string to a Margin object.

Class · Namespace LiveChartsCore.SkiaSharpView.TypeConverters · Assembly LiveChartsCore.SkiaSharpView · View source

Inheritance

Object TypeConverter MarginTypeConverter

Members

Methods

CanConvertFrom 2 parameters

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

ITypeDescriptorContext context The context.

Type sourceType The source type.

ConvertFrom 3 parameters

Converts the given value to the type of this converter, using the specified context and culture information.

ITypeDescriptorContext context The context.

CultureInfo culture The culture.

Object value The value.

ParseMargin 1 parameter

Parses a string representation of margin values and returns a Margin object.

String value A comma-separated string containing one, two, or four numeric values representing margin dimensions.