System.ComponentModel.ExpandableObjectConverter Class

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

See Also: ExpandableObjectConverter Members


public class ExpandableObjectConverter : TypeConverter


This class adds support for properties on an object to the methods and properties provided by System.ComponentModel.TypeConverter. To make a type of property expandable in the System.Windows.Forms.PropertyGrid, specify this System.ComponentModel.TypeConverter for standard implementations of ExpandableObjectConverter.GetPropertiesSupported(ITypeDescriptorContext) and ExpandableObjectConverter.GetProperties(ITypeDescriptorContext, object, Attribute[]). Mark child properties with the System.ComponentModel.NotifyParentPropertyAttribute to ensure correct behavior in a System.Windows.Forms.PropertyGrid control.


You should never access a type converter directly. Instead, call the appropriate converter by using System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class.

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


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