ComponentOne Basic Library for WPF and Silverlight
Show Method (C1ContextMenu)


C1.Silverlight 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.
Displays the context menu at the specified position.
Syntax
'Declaration
 
Public Sub Show( _
   ByVal placementTarget As System.Windows.FrameworkElement, _
   ByVal offset As System.Windows.Point _
) 
'Usage
 
Dim instance As C1ContextMenu
Dim placementTarget As System.Windows.FrameworkElement
Dim offset As System.Windows.Point
 
instance.Show(placementTarget, offset)
public void Show( 
   System.Windows.FrameworkElement placementTarget,
   System.Windows.Point offset
)

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

Reference

C1ContextMenu Class
C1ContextMenu Members