Export (0) Print
Expand All

ComponentDesigner.Component Property

Gets the component this designer is designing.

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

'Declaration
Public ReadOnly Property Component As IComponent

Property Value

Type: System.ComponentModel.IComponent
The component managed by the designer.

Implements

IDesigner.Component

The Initialize method of ComponentDesigner sets this property.

NoteNote

When overriding the Initialize method, be sure to call the base class Initialize method before using this property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft