This documentation is archived and is not being maintained.

ComponentDesigner.Component Property

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

IDesigner.Component

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: 

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | Initialize | IDesigner

Show: