Click or drag to resize
ControlsHelperContainsControl Method

Note: This API is now obsolete.

Determines whether control contains another one.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Method was not intended for public use and will be removed in the next version.")]
public static bool ContainsControl(
	Control parentControl,
	Control nestedControl
)

Parameters

parentControl
Type: System.Web.UIControl
Control to look within
nestedControl
Type: System.Web.UIControl
Control to look for

Return Value

Type: Boolean
See Also