Gets the component that contains the specified component.
Syntax
Parameters
- reference
-
The object to retrieve the parent component for.
Returns
The base System.ComponentModel.IComponent that contains the specified object, or null if no parent component exists.
Remarks
Requirements
Namespace: System.ComponentModel.Design
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0