C# Class Yuhan.WPF.CustomWindow.TypeConverterStringToUIElement

Inheritance: System.ComponentModel.TypeConverter
显示文件 Open project: hansuky/Yuhan

Public Methods

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

Method Details

CanConvertFrom() public method

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

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext
culture System
value object
return object