KryptonContextMenuShow(Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV, Boolean, Boolean) Method |
Show the context menu relative to the provided screen rectangle.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic bool Show(
Object caller,
Rectangle screenRect,
KryptonContextMenuPositionH horz,
KryptonContextMenuPositionV vert,
bool keyboardActivated,
bool constrain
)
Parameters
- caller Object
- Reference to object causing the context menu to be shown.
- screenRect Rectangle
- Screen rectangle.
- horz KryptonContextMenuPositionH
- Horizontal location relative to screen rectangle.
- vert KryptonContextMenuPositionV
- Vertical location relative to screen rectangle.
- keyboardActivated Boolean
- Was context menu initiated via a keyboard action.
- constrain Boolean
- Should size and position of menu be constrained by display size.
Return Value
BooleanHas the context menu become displayed.
See Also