ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1ContextMenuService Class / GetContextMenu Method
The control from which the context menu is retrieved.

In This Topic
    GetContextMenu Method
    In This Topic
    Gets the context menu for a control.
    Syntax
    'Declaration
     
    Public Shared Function GetContextMenu( _
       ByVal element As Windows.UI.Xaml.DependencyObject _
    ) As IC1ContextMenu
    public static IC1ContextMenu GetContextMenu( 
       Windows.UI.Xaml.DependencyObject element
    )

    Parameters

    element
    The control from which the context menu is retrieved.

    Return Value

    The control's context menu.
    See Also