[]
Provides a type converter to convert Thickness values to and from various other representations.
public class ThicknessConverter : TypeConverter
Name | Description |
---|---|
ThicknessConverter() | Initializes a new instance of a ThicknessConverter. |
Name | Description |
---|---|
CanConvertFrom(ITypeDescriptorContext, Type) | Returns whether this converter can convert an object of one type to the type of this converter. |
CanConvertTo(ITypeDescriptorContext, Type) | Returns whether this converter can convert the object to the specified type, using the specified context. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, object) | Converts the given value to the type of this converter. |
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type) | Converts the given value object to the specified type. |
CreateInstance(ITypeDescriptorContext, IDictionary) | Creates a Thickness object given a set of property values for the object. |
GetCreateInstanceSupported(ITypeDescriptorContext) | Returns whether changing a value on this object requires a call to the CreateInstance(ITypeDescriptorContext, IDictionary) method to create a new value. |
GetProperties(ITypeDescriptorContext, object, Attribute[]) | Returns a collection of properties for the type of array specified by the value parameter. |
GetPropertiesSupported(ITypeDescriptorContext) | Returns whether this object supports properties. |