C# Class System.Drawing.PointConverter

Inheritance: System.ComponentModel.TypeConverter
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool
GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection
GetPropertiesSupported ( ITypeDescriptorContext context ) : bool

Private Methods

Method Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
CreateInstance ( ITypeDescriptorContext context, IDictionary propertyValues ) : object

Method Details

CanConvertFrom() public method

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

CanConvertTo() public method

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType Type
return bool

ConvertTo() public method

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

GetCreateInstanceSupported() public method

public GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

GetProperties() public method

public GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection
context ITypeDescriptorContext
value object
attributes Attribute
return System.ComponentModel.PropertyDescriptorCollection

GetPropertiesSupported() public method

public GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool