[]
        
(Showing Draft Content)

C1.Framework.ThicknessConverter.CreateInstance

CreateInstance Method

CreateInstance(ITypeDescriptorContext, IDictionary)

Creates a Thickness object given a set of property values for the object.

Declaration
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
Public Overrides Function CreateInstance(context As ITypeDescriptorContext, propertyValues As IDictionary) As Object
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context.

IDictionary propertyValues

A contains a series of name-value pairs with the new property values.

Returns
Type Description
object

The newly created object, or null if the object could not be created.

Overrides