Click or drag to resize
ControlHelperGetNextControlT Method
Gets the Control of type T that is descendant of the specified parent and is anchored to the specified current T instance.

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public static T GetNextControl<T>(
	Control parent,
	T curr,
	bool recursive,
	bool forward,
	bool wrap
)
where T : Control

Parameters

parent
Type: System.Windows.FormsControl
The parent control, which descendants are to be examined.
curr
Type: T
The current T instance to start the search from.
recursive
Type: SystemBoolean
True to perform depth-first traversal of the Control Tree, false to look-up direct children only.
forward
Type: SystemBoolean
True to search for a T instance that is next to the current specified one, false to search for a T instance that is previous to the current specified one.
wrap
Type: SystemBoolean
True to start the search from the beginning when end of the search is reached.

Type Parameters

T
A Control of Type T.

Return Value

Type: T
See Also