Click or drag to resize
FormControlEnsureChildControlControlType Method
Ensures the first found child control of the given type in the given variable

Namespace: CMS.FormControls
Assembly: CMS.FormControls (in CMS.FormControls.dll) Version: 9.0.0
Syntax
C#
protected virtual ControlType EnsureChildControl<ControlType>(
	ref ControlType variable
)
where ControlType : Control

Parameters

variable
Type: ControlType
Control variable

Type Parameters

ControlType

Return Value

Type: ControlType
See Also