'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 )
Parameters
- element
- The Control to which the context menu is attached.
- value
- The context menu to set.