Control.getParent

Overview | Methods | Fields | This Package | All Packages

Control.getParent

Retrieves the parent of this control.

Syntax

public final Control getParent()

Return Value

Returns a Control object that represents the parent control that contains this control. The parent for a control is not necessarily the form that contains it. To retrieve the form that contains a control, use the getForm method.

See Also   setParent