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






element
Target element.
Gets the context menu name from specified element.

Syntax

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

Parameters

element
Target element.

Return Value

Context menu name.

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.