Telerik UI for Windows Phone by Progress

Returns the first UIElement of the specified generic type that is under the open gesture of the context menu.

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

Syntax

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

Type Parameters

T
The type of object to look for.

Return Value

Returns the first UIElement of the specified generic type that is under the open gesture of the context menu.

See Also