System.Windows.Forms.Control.Parent Property

Gets or sets the parent container of the control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public Control Parent { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting the Control.Parent property value to null removes the control from the System.Windows.Forms.Control.ControlCollection of its current parent control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0