Menu for WPF | ComponentOne
C1.WPF.Menu Namespace / C1ContextMenu Class / Show Method
Specifies the control to which the context menu is associated.
The offset coordinates where the context menu will be displayed. These coordinates are relative to the control specified in the control parameter.

In This Topic
    Show Method (C1ContextMenu)
    In This Topic
    Displays the context menu at the specified position.
    Syntax
    'Declaration
     
    
    Public Sub Show( _
       ByVal placementTarget As FrameworkElement, _
       Optional ByVal offset As Nullable(Of Point) _
    ) 

    Parameters

    placementTarget
    Specifies the control to which the context menu is associated.
    offset
    The offset coordinates where the context menu will be displayed. These coordinates are relative to the control specified in the control parameter.
    See Also