C# Class Svg.SvgViewBoxConverter

Inheritance: System.ComponentModel.TypeConverter
Afficher le fichier Open project: vvvv/SVG

Méthodes publiques

Méthode 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 méthode

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
Résultat bool

CanConvertTo() public méthode

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Résultat bool

ConvertFrom() public méthode

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.
Résultat object

ConvertTo() public méthode

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