Click or drag to resize

ContextMenuProvider(KryptonContextMenu, ViewContextMenuManager, ViewLayoutStack, IPalette, PaletteMode, PaletteRedirect, PaletteRedirectContextMenu, NeedPaintHandler, Boolean) Constructor

Initialize a new instance of the ContextMenuProvider class.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public ContextMenuProvider(
	KryptonContextMenu contextMenu,
	ViewContextMenuManager viewManager,
	ViewLayoutStack viewColumns,
	IPalette palette,
	PaletteMode paletteMode,
	PaletteRedirect redirector,
	PaletteRedirectContextMenu redirectorImages,
	NeedPaintHandler needPaintDelegate,
	bool enabled
)

Parameters

contextMenu  KryptonContextMenu
Originating context menu instance.
viewManager  ViewContextMenuManager
Reference to view manager.
viewColumns  ViewLayoutStack
Columns view element.
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.
needPaintDelegate  NeedPaintHandler
Delegate for requesting paint changes.
enabled  Boolean
Enabled state of the context menu.
See Also