Click or drag to resize
ControlHelperFindAncestorT Method
Searches up the parent chain of controls, looking for an ancestor of the specified type.

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public static T FindAncestor<T>(
	Control child
)
where T : Control

Parameters

child
Type: System.Windows.FormsControl

Type Parameters

T

Return Value

Type: T
See Also