Click or drag to resize
ControlsHelperContainsControl Method
Determines whether control contains another one.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
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