ListBindingConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a type converter to convert Binding objects to and from various other representations.
public ref class ListBindingConverter : System::ComponentModel::TypeConverter
public class ListBindingConverter : System.ComponentModel.TypeConverter
type ListBindingConverter = class
inherit TypeConverter
Public Class ListBindingConverter
Inherits TypeConverter
- Inheritance
Remarks
The ListBindingConverter is used to evaluate and convert a property of an object into a Binding.
The TypeConverterAttribute is applied to the Binding class with the type of the ListBindingConverter as an argument.
For more information about type converters, see the TypeConverter base class.
Note
You should never create an instance of the ListBindingConverter class. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.
Constructors
| Name | Description |
|---|---|
| ListBindingConverter() |
Initializes a new instance of the ListBindingConverter class. |
Methods
| Name | Description |
|---|---|
| CanConvertTo(ITypeDescriptorContext, Type) |
Returns whether this converter can convert the object to the specified type, using the specified context. |
| 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. |