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
Datei anzeigen Open project: samhocevar/wincompose

Public Methods

Method 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 method

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

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object val ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
val object
return object

ConvertTo() public method

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