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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
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