.NET Framework Class Library
ComponentDesigner..::.Component Property

Updated: November 2007

Gets the component this designer is designing.

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

Visual Basic (Declaration)
Public ReadOnly Property Component As IComponent
Visual Basic (Usage)
Dim instance As ComponentDesigner
Dim value As IComponent

value = instance.Component
C#
public IComponent Component { get; }
Visual C++
public:
virtual property IComponent^ Component {
    IComponent^ get () sealed;
}
J#
/** @property */
public final IComponent get_Component()
JScript
public final function get Component () : IComponent

Property Value

Type: System.ComponentModel..::.IComponent

The component managed by the designer.

Implements

IDesigner..::.Component

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.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Page view tracker