Intersoft ClientUI Documentation
SetContextMenu Method



Target element.
Context menu.
Sets the context menu to target element.
Syntax
Public Shared Sub SetContextMenu( _
   ByVal element As UIElement, _
   ByVal value As UXContextMenu _
) 
Dim element As UIElement
Dim value As UXContextMenu
 
ContextMenuService.SetContextMenu(element, value)
public static void SetContextMenu( 
   UIElement element,
   UXContextMenu value
)
public:
static void SetContextMenu( 
   UIElement^ element,
   UXContextMenu^ value
) 

Parameters

element
Target element.
value
Context menu.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ContextMenuService Class
ContextMenuService Members

Send Feedback