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






element
Target element.
value
Context menu name.
Sets the context menu name to target element.

Syntax

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

Parameters

element
Target element.
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.