KryptonContextMenuCreateContextMenu Method |
Create a new visual context menu for showing the defined items.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxprotected virtual VisualContextMenu CreateContextMenu(
KryptonContextMenu kcm,
IPalette palette,
PaletteMode paletteMode,
PaletteRedirect redirector,
PaletteRedirectContextMenu redirectorImages,
KryptonContextMenuCollection items,
bool enabled,
bool keyboardActivated
)
Parameters
- kcm KryptonContextMenu
- Owning KryptonContextMenu instance.
- palette IPalette
- Drawing palette.
- paletteMode PaletteMode
- Drawing palette mode.
- redirector PaletteRedirect
- Redirector for sourcing base values.
- redirectorImages PaletteRedirectContextMenu
- Redirector for sourcing base images.
- items KryptonContextMenuCollection
- Colletion of menu items.
- enabled Boolean
- Enabled state of the menu.
- keyboardActivated Boolean
- True is menu was keyboard initiated.
Return Value
VisualContextMenuVisualContextMenu reference.
See Also