Gets the context menu for a control.
public static IC1ContextMenu GetContextMenu(
Windows.UI.Xaml.DependencyObject
)
'Declaration
Public Shared Function GetContextMenu( _
ByVal As Windows.UI.Xaml.DependencyObject _
) As IC1ContextMenu
Parameters
- element
- The control from which the context menu is retrieved.
Return Value
The control's context menu.