C# Class WinCompose.KeyConverter

The KeyConverter class allows to convert a string or a string-like object to a Key object and back.
Inheritance: System.ComponentModel.TypeConverter
Afficher le fichier Open project: samhocevar/wincompose

Méthodes publiques

Méthode Description
CanConvertFrom ( ITypeDescriptorContext context, Type src_type ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object val ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object val, Type dst_type ) : object

Method Details

CanConvertFrom() public méthode

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

ConvertFrom() public méthode

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

ConvertTo() public méthode

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