Telerik UI for Windows Phone by Progress

Sets the ContextMenu attached property to a visual element.

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 static void SetContextMenu(
	DependencyObject menuOwner,
	RadContextMenu menu
)
Visual Basic
Public Shared Sub SetContextMenu ( _
	menuOwner As DependencyObject, _
	menu As RadContextMenu _
)
Visual C++
public:
static void SetContextMenu(
	DependencyObject^ menuOwner, 
	RadContextMenu^ menu
)

Parameters

menuOwner
Type: System.Windows..::..DependencyObject
The owner of the context menu.
menu
Type: Telerik.Windows.Controls..::..RadContextMenu
The context menu.

See Also