Input for WinForms | ComponentOne
C1.Framework Namespace / ThicknessConverter Class / CreateInstance Method / CreateInstance(ITypeDescriptorContext,IDictionary) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A contains a series of name-value pairs with the new property values.

In This Topic
    CreateInstance(ITypeDescriptorContext,IDictionary) Method
    In This Topic
    Creates a Thickness object given a set of property values for the object.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CreateInstance( _
       ByVal context As ITypeDescriptorContext, _
       ByVal propertyValues As IDictionary _
    ) As Object
    public override object CreateInstance( 
       ITypeDescriptorContext context,
       IDictionary propertyValues
    )

    Parameters

    context
    An System.ComponentModel.ITypeDescriptorContext that provides a format context.
    propertyValues
    A contains a series of name-value pairs with the new property values.

    Return Value

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