Bewerken

ThicknessConverter Class

Definition

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
ThicknessConverter

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.

Applies to

See also