This type implements the ICustomTypeDescriptor interface, and allows any object annotated with the special design attributes to be designed within a standard PropertyGrid control and appear as if it is contained within a PropertyGridEx control, except without multiple property tabs.

Namespace:  ShinyDesign.Design
Assembly:  ShinyDesign (in ShinyDesign.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class TypeDescriptorSurrogate : ICustomTypeDescriptor
Visual Basic (Declaration)
Public Class TypeDescriptorSurrogate _
	Implements ICustomTypeDescriptor
Visual C++
public ref class TypeDescriptorSurrogate : ICustomTypeDescriptor

Remarks

To use this object, create a new instance, passing into the constructor the object you wish to design. Then, pass the surrogate object into the SelectedObject property of the PropertyGrid control.

Inheritance Hierarchy

System..::.Object
  ShinyDesign.Design..::.TypeDescriptorSurrogate

See Also