Click or drag to resize

KryptonContextMenuShow Method (Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV)

Show the context menu relative to the provided screen rectangle.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool Show(
	Object caller,
	Rectangle screenRect,
	KryptonContextMenuPositionH horz,
	KryptonContextMenuPositionV vert
)

Parameters

caller
Type: SystemObject
Reference to object causing the context menu to be shown.
screenRect
Type: System.DrawingRectangle
Screen rectangle.
horz
Type: Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenuPositionH
Horizontal location relative to screen rectangle.
vert
Type: Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenuPositionV
Vertical location relative to screen rectangle.

Return Value

Type: Boolean
Has the context menu become displayed.
See Also