Sets the context menu for a control.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
Syntax
C# |
---|
public static void SetContextMenu( DependencyObject element, C1ContextMenu value ) |
Visual Basic |
---|
Public Shared Sub SetContextMenu ( _ element As DependencyObject, _ value As C1ContextMenu _ ) |
Parameters
- element
- Type: System.Windows..::..DependencyObject
The Control to which the context menu is attached.
- value
- Type: C1.Phone..::..C1ContextMenu
The context menu to set.