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


C1.Silverlight Namespace > IC1ContextMenu Interface : 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
 
Sub Show( _
   ByVal placementTarget As System.Windows.FrameworkElement, _
   ByVal offset As System.Windows.Point _
) 
'Usage
 
Dim instance As IC1ContextMenu
Dim placementTarget As System.Windows.FrameworkElement
Dim offset As System.Windows.Point
 
instance.Show(placementTarget, offset)
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

IC1ContextMenu Interface
IC1ContextMenu Members