Click or drag to resize

VisualContextMenuShow Method (Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV, Boolean, Boolean)

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 void Show(
	Rectangle screenRect,
	KryptonContextMenuPositionH horz,
	KryptonContextMenuPositionV vert,
	bool bounce,
	bool constrain
)

Parameters

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.
bounce
Type: SystemBoolean
Should the menu bounce around the monitor.
constrain
Type: SystemBoolean
Should size and position of menu be constrained by display size.
See Also