Displays the context menu at the specified position.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public void Show( FrameworkElement placementTarget, Point offset ) |
Visual Basic |
---|
Public Sub Show ( _ placementTarget As FrameworkElement, _ offset As Point _ ) |
Parameters
- placementTarget
- Type: System.Windows..::..FrameworkElement
Specifies the control to which the context menu is associated.
- offset
- Type: System.Windows..::..Point
The offset coordinates where the context menu will be displayed. These coordinates are relative to the control specified in the control parameter.