VisualContextMenu(KryptonContextMenu, IPalette, PaletteMode, PaletteRedirect, PaletteRedirectContextMenu, KryptonContextMenuCollection, Boolean, Boolean) Constructor |
Initialize a new instance of the VisualContextMenu class.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic VisualContextMenu(
KryptonContextMenu contextMenu,
IPalette palette,
PaletteMode paletteMode,
PaletteRedirect redirector,
PaletteRedirectContextMenu redirectorImages,
KryptonContextMenuCollection items,
bool enabled,
bool keyboardActivated
)
Parameters
- contextMenu KryptonContextMenu
- Originating context menu instance.
- palette IPalette
- Local palette setting to use initially.
- paletteMode PaletteMode
- Palette mode setting to use initially.
- redirector PaletteRedirect
- Redirector used for obtaining palette values.
- redirectorImages PaletteRedirectContextMenu
- Redirector used for obtaining images.
- items KryptonContextMenuCollection
- Collection of context menu items to be displayed.
- enabled Boolean
- Enabled state of the context menu.
- keyboardActivated Boolean
- Was the context menu activate by a keyboard action.
See Also