Gets the context menu for a control.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.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