ListBindingConverter
Wisej.Web.ListBindingConverter
Last updated
Wisej.Web.ListBindingConverter
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides a type converter to convert Binding objects to and from various other representations.
Initializes a new instance of the ListBindingConverter class.
Returns whether this converter can convert the object to the specified type using the specified context.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.