C# Class Svg.SvgViewBoxConverter

Inheritance: System.ComponentModel.TypeConverter
Mostra file Open project: vvvv/SVG

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object

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

ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

Method Details

CanConvertFrom() public method

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
return bool

CanConvertTo() public method

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
return bool

ConvertFrom() public method

Converts the given object to the type of this converter, using the specified context and culture information.
The conversion cannot be performed.
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext An that provides a format context.
culture System The to use as the current culture.
value object The to convert.
return object

ConvertTo() public method

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
return object