EditorAttribute Constructor (Type, Type)
.NET Framework 4
Initializes a new instance of the EditorAttribute class with the type and the base type.
Assembly: System (in System.dll)
Parameters
- type
- Type: System.Type
A Type that represents the type of the editor.
- baseType
- Type: System.Type
The Type of the base class or interface to use as a lookup key for the editor. This class must be or derive from UITypeEditor.
The Type represented by the type parameter must either derive from or implement the base class.
The baseType parameter is used as a key to find a particular editor, because a data type can have more than one editor associated with it.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.