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 (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.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