[]
Stripped down version of MS System.Drawing.FontConverter.
public sealed class FontConverter : TypeConverter
| Name | Description |
|---|---|
| FontConverter() |
| Name | Description |
|---|---|
| CanConvertFrom(ITypeDescriptorContext, Type) | Determines if we can convert from anything. |
| CanConvertTo(ITypeDescriptorContext, Type) | Determines if we can convert to anything. |
| ConvertFrom(ITypeDescriptorContext, CultureInfo, object) | Converts from anything. |
| ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type) | Converts to target type. |
| CreateInstance(ITypeDescriptorContext, IDictionary) | Creates an instance of this type given a set of property values for the object. This is useful for objects that are immutable, but still want to provide changable properties. |
| GetCreateInstanceSupported(ITypeDescriptorContext) | Determines if changing a value on this object should require a call to CreateInstance to create a new value. |
| GetProperties(ITypeDescriptorContext, object, Attribute[]) | Gets properties. By default, a type does not return any properties. An easy implementation of this method can just call TypeDescriptor.GetProperties for the correct data type. |
| GetPropertiesSupported(ITypeDescriptorContext) | Determines if this object supports properties. By default, this is false. |