Intersoft ClientUI Documentation
GetContextMenu Method
See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace > ContextMenuService Class : GetContextMenu Method






element
Target element.
Gets the content menu from specified element.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetContextMenu( _
   ByVal element As UIElement _
) As UXContextMenu
Visual Basic (Usage)Copy Code
Dim element As UIElement
Dim value As UXContextMenu
 
value = ContextMenuService.GetContextMenu(element)
C# 
public static UXContextMenu GetContextMenu( 
   UIElement element
)
Delphi 
public function GetContextMenu( 
    element: UIElement
): UXContextMenu; static; 
JScript 
public static function GetContextMenu( 
   element : UIElement
) : UXContextMenu;
Managed Extensions for C++ 
public: static UXContextMenu* GetContextMenu( 
   UIElement* element
) 
C++/CLI 
public:
static UXContextMenu^ GetContextMenu( 
   UIElement^ element
) 

Parameters

element
Target element.

Return Value

Context menu.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.