Intersoft ClientUI Documentation
GetContextMenu Method



Target element.
Gets the content menu from specified element.
Syntax
Public Shared Function GetContextMenu( _
   ByVal element As UIElement _
) As UXContextMenu
Dim element As UIElement
Dim value As UXContextMenu
 
value = ContextMenuService.GetContextMenu(element)
public static UXContextMenu GetContextMenu( 
   UIElement element
)
public:
static UXContextMenu^ GetContextMenu( 
   UIElement^ element
) 

Parameters

element
Target element.

Return 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