[This is preliminary documentation and is subject to change.]

Recursive finds a control given its type

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static Control FindControlRecursiveByType(
	Control startControl,
	string type
)
Visual Basic (Declaration)
Public Shared Function FindControlRecursiveByType ( _
	startControl As Control, _
	type As String _
) As Control
Visual C++
public:
static Control^ FindControlRecursiveByType(
	Control^ startControl, 
	String^ type
)

Parameters

startControl
Type: System.Web.UI..::.Control
The start control from where the recusive tree search should begin
type
Type: System..::.String
The type of the control

Return Value

The returned control, null if no control is found

See Also