Provides contextual information about a component, such as its container and property descriptor.

See Also: ITypeDescriptorContext Members


public interface ITypeDescriptorContext : IServiceProvider


The System.ComponentModel.ITypeDescriptorContext interface provides contextual information about a component. System.ComponentModel.ITypeDescriptorContext is typically used at design time to provide information about a design-time container. This interface is commonly used in type conversion. For details, see System.ComponentModel.TypeConverter.


Do not rely on the presence of this interface when you design a type converter. If a particular interface, property, or service is necessary but not available, the type converter should return null rather than throw an exception. This interface's properties can return null at any time, and you should plan for this.


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