Gets the context menu for a control.

Namespace:  C1.Phone
Assembly:  C1.Phone (in C1.Phone.dll)

Syntax

C#
public static C1ContextMenu GetContextMenu(
	DependencyObject element
)
Visual Basic
Public Shared Function GetContextMenu ( _
	element As DependencyObject _
) As C1ContextMenu

Parameters

element
Type: System.Windows..::..DependencyObject
The control from which the context menu is retrieved.

Return Value

The control's context menu.

See Also