ListBindingConverter

Wisej.Web.ListBindingConverter

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides a type converter to convert Binding objects to and from various other representations.

public class ListBindingConverter : TypeConverter

Constructors

Initializes a new instance of the ListBindingConverter class.

Methods

Returns whether this converter can convert the object to the specified type using the specified context.

ParameterTypeDescription

context

An ITypeDescriptorContext that provides a format context.

destinationType

A Type that represents the type you want to convert to.

Returns: Boolean. true if this converter can perform the conversion; otherwise, false.

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

ParameterTypeDescription

context

An ITypeDescriptorContext that provides a format context.

culture

A CultureInfo. If null is passed, the current culture is assumed.

value

The Object to convert.

destinationType

The Type to convert the value parameter to.

Returns: Object. An Object that represents the converted value.

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.

ParameterTypeDescription

context

An ITypeDescriptorContext that provides a format context.

propertyValues

An IDictionary of new property values.

Returns: Object. An Object representing the given IDictionary, or null if the object cannot be created. This method always returns null.

Returns whether changing a value on this object requires a call to the CreateInstance method to create a new value.

ParameterTypeDescription

context

An ITypeDescriptorContext that provides a format context.

Returns: Boolean. true if changing a property on this object requires a call to CreateInstance to create a new value; otherwise, false.

Last updated