Click or drag to resize

VisualContextMenu Constructor (KryptonContextMenu, IPalette, PaletteMode, PaletteRedirect, PaletteRedirectContextMenu, KryptonContextMenuCollection, Boolean, Boolean)

Initialize a new instance of the VisualContextMenu class.

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 VisualContextMenu(
	KryptonContextMenu contextMenu,
	IPalette palette,
	PaletteMode paletteMode,
	PaletteRedirect redirector,
	PaletteRedirectContextMenu redirectorImages,
	KryptonContextMenuCollection items,
	bool enabled,
	bool keyboardActivated
)

Parameters

contextMenu
Type: Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenu
Originating context menu instance.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPalette
Local palette setting to use initially.
paletteMode
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMode
Palette mode setting to use initially.
redirector
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRedirect
Redirector used for obtaining palette values.
redirectorImages
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRedirectContextMenu
Redirector used for obtaining images.
items
Type: Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenuCollection
Collection of context menu items to be displayed.
enabled
Type: SystemBoolean
Enabled state of the context menu.
keyboardActivated
Type: SystemBoolean
Was the context menu activate by a keyboard action.
See Also