Gets the context menu for a control.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
Syntax
C# |
---|
public static C1ContextMenu GetContextMenu( DependencyObject element ) |
Visual Basic |
---|
Public Shared Function GetContextMenu ( _ element As DependencyObject _ ) As C1ContextMenu |
Parameters
- element
- Type: System.Windows..::..DependencyObject
The control from which the context menu is retrieved.