System.ComponentModel.TypeListConverter Class

Provides a type converter that can be used to populate a list box with available types.

See Also: TypeListConverter


public abstract class TypeListConverter : TypeConverter


You must provide the list of types to the constructor of this abstract class.

For more information about type converters, see the TypeConverter base class and How to: Implement a Type Converter.


You should never create an instance of a TypeListConverter. Instead, call the TypeDescriptor.GetConverter(Object) method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,

The members of System.ComponentModel.TypeListConverter are listed below.

See Also: TypeConverter

Protected Constructors

Initializes a new instance of the TypeListConverter class using the type array as the available types.

Public Methods

CanConvertFrom(ITypeDescriptorContext, Type) : Boolean

Gets a value indicating whether this converter can convert the specified Type of the source object using the given context.

CanConvertTo(ITypeDescriptorContext, Type) : Boolean

Gets a value indicating whether this converter can convert an object to the given destination type using the context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) : Object

Converts the specified object to the native type of the converter.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) : Object

Converts the given value object to the specified destination type.

GetStandardValues(ITypeDescriptorContext) : TypeConverter+StandardValuesCollection

Gets a collection of standard values for the data type this validator is designed for.

GetStandardValuesExclusive(ITypeDescriptorContext) : Boolean

Gets a value indicating whether the list of standard values returned from the TypeListConverter.GetStandardValues(ITypeDescriptorContext) method is an exclusive list.

GetStandardValuesSupported(ITypeDescriptorContext) : Boolean

Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context.