ComponentOne Basic Library for UWP
SetContextMenu Method

C1.UWP Assembly > C1.Xaml Namespace > C1ContextMenuService Class : SetContextMenu Method
The Control to which the context menu is attached.
The context menu to set.
Sets the context menu for a control.
Syntax
'Declaration
 
Public Shared Sub SetContextMenu( _
   ByVal element As Windows.UI.Xaml.DependencyObject, _
   ByVal value As IC1ContextMenu _
) 
public static void SetContextMenu( 
   Windows.UI.Xaml.DependencyObject element,
   IC1ContextMenu value
)

Parameters

element
The Control to which the context menu is attached.
value
The context menu to set.
See Also

Reference

C1ContextMenuService Class
C1ContextMenuService Members