Click or drag to resize

ContextMenuShow Method (Control, NullablePointF)

Shows the context menu at the specified location relative to a control.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Show(
	Control relativeTo,
	Nullable<PointF> location
)

Parameters

relativeTo
Type: Eto.FormsControl
Control to show the menu relative to, or null to use screen co-ordinates for location
location
Type: SystemNullablePointF
Location to place the upper left of the context menu, or null to use the mouse position
Remarks
Note that the operating system may move the context menu to make it fully visible.
See Also