ITypeDescriptorContext Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides information about a context to a type converter or a value editor, so that the type converter or editor can perform a conversion.
Namespace: System.ComponentModel
Assembly: System (in System.dll)
Syntax
'Declaration
Public Interface ITypeDescriptorContext _
Inherits IServiceProvider
public interface ITypeDescriptorContext : IServiceProvider
The ITypeDescriptorContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
Container | Gets the container with the set of objects for this formatter. | |
Instance | Gets the instance that is invoking the method on the formatter object. | |
PropertyDescriptor | Gets the PropertyDescriptor that is surfacing the given context item. |
Top
Methods
Name | Description | |
---|---|---|
GetService | Gets the service object of the specified type. (Inherited from IServiceProvider.) | |
OnComponentChanged | Raises the OnComponentChanged event. | |
OnComponentChanging | Gets a value indicating whether this object can be changed. |
Top
Remarks
This interface exists in Silverlight due to compatibility requirements for TypeConverter. It is not intended for implementation.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.