ITypeDescriptorContext Interface
TOC
Collapse the table of content
Expand the table of content

ITypeDescriptorContext Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

No code example is currently available or this language may not be supported.

The ITypeDescriptorContext type exposes the following members.

  NameDescription
Public propertyContainerGets the container with the set of objects for this formatter.
Public propertyInstanceGets the instance that is invoking the method on the formatter object.
Public propertyPropertyDescriptorGets the PropertyDescriptor that is surfacing the given context item.
Top

  NameDescription
Public methodGetServiceGets the service object of the specified type. (Inherited from IServiceProvider.)
Public methodOnComponentChangedRaises the OnComponentChanged event.
Public methodOnComponentChangingGets a value indicating whether this object can be changed.
Top

This interface exists due to compatibility requirements for TypeConverter. It is not intended for implementation.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft