C# Class OmniXaml.Wpf.ConverterAdapter

Inheritance: ITypeConverter
Afficher le fichier Open project: AvaloniaUI/OmniXAML Class Usage Examples

Méthodes publiques

Méthode Description
CanConvertFrom ( IValueContext context, Type sourceType ) : bool
CanConvertTo ( IValueContext context, Type destinationType ) : bool
ConvertFrom ( IValueContext context, CultureInfo culture, object value ) : object
ConvertTo ( IValueContext context, CultureInfo culture, object value, Type destinationType ) : object
ConverterAdapter ( TypeConverter converter ) : System

Method Details

CanConvertFrom() public méthode

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

CanConvertTo() public méthode

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

ConvertFrom() public méthode

public ConvertFrom ( IValueContext context, CultureInfo culture, object value ) : object
context IValueContext
culture System.Globalization.CultureInfo
value object
Résultat object

ConvertTo() public méthode

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

ConverterAdapter() public méthode

public ConverterAdapter ( TypeConverter converter ) : System
converter System.ComponentModel.TypeConverter
Résultat System