Edit

PaddingConverter Class

Definition

Provides a type converter to convert Padding values to and from various other representations.

public ref class PaddingConverter : System::ComponentModel::TypeConverter
public class PaddingConverter : System.ComponentModel.TypeConverter
type PaddingConverter = class
    inherit TypeConverter
Public Class PaddingConverter
Inherits TypeConverter
Inheritance
PaddingConverter

Constructors

Name Description
PaddingConverter()

Initializes a new instance of the PaddingConverter class.

Methods

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 object to the type of this converter, using the specified context and culture information.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

CreateInstance(ITypeDescriptorContext, IDictionary)

Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.

GetCreateInstanceSupported(ITypeDescriptorContext)

Returns whether changing a value on this object requires a call to CreateInstance(IDictionary) to create a new value, using the specified context.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Returns a collection of properties for the type of array specified by the value parameter, using the specified context and attributes.

GetPropertiesSupported(ITypeDescriptorContext)

Returns whether this object supports properties, using the specified context.

Applies to