ThicknessConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts instances of other types to and from instances of Thickness.
public ref class ThicknessConverter : System::ComponentModel::TypeConverter
public class ThicknessConverter : System.ComponentModel.TypeConverter
type ThicknessConverter = class
inherit TypeConverter
Public Class ThicknessConverter
Inherits TypeConverter
- Inheritance
Constructors
| Name | Description |
|---|---|
| ThicknessConverter() |
Initializes a new instance of the ThicknessConverter class. |
Methods
| Name | Description |
|---|---|
| CanConvertFrom(ITypeDescriptorContext, Type) |
Determines whether the type converter can create an instance of Thickness from a specified type. |
| CanConvertTo(ITypeDescriptorContext, Type) |
Determines whether the type converter can convert an instance of Thickness to a different type. |
| ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) |
Attempts to create an instance of Thickness from a specified object. |
| ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) |
Attempts to convert an instance of Thickness to a specified type. |