Telerik UI for Windows Phone by Progress

Searches up the parent chain and returns the first parent of type T.

Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart (in Telerik.Windows.Controls.Chart.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public T FindAncestor<T>()
where T : ChartElement
Visual Basic
Public Function FindAncestor(Of T As ChartElement) As T
Visual C++
public:
generic<typename T>
where T : ChartElement
T FindAncestor()

Type Parameters

T
Must be a ChartElement.

See Also