C1.WPF Namespace > C1ContextMenuService Class : SetContextMenu Method |
'Declaration
Public Shared Sub SetContextMenu( _ ByVal element As DependencyObject, _ ByVal value As IC1ContextMenu _ )
'Usage
Dim element As DependencyObject Dim value As IC1ContextMenu C1ContextMenuService.SetContextMenu(element, value)
public static void SetContextMenu( DependencyObject element, IC1ContextMenu value )
public: static void SetContextMenu( DependencyObject^ element, IC1ContextMenu^ value )
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