This documentation is archived and is not being maintained.
ComponentDesigner.Component Property
.NET Framework 1.1
Gets the component this designer is designing.
[Visual Basic] Public Overridable ReadOnly Property Component As IComponent _ Implements IDesigner.Component [C#] public virtual IComponent Component {get;} [C++] public: __property virtual IComponent* get_Component(); [JScript] public function get Component() : IComponent;
Property Value
The component managed by the designer.
Implements
Remarks
The Initialize method of ComponentDesigner sets this property.
Note When overriding the Initialize method, be sure to call the base class Initialize method before using this property.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | Initialize | IDesigner
Show: