Click or drag to resize

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

Initialize a new instance of the ContextMenuProvider 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 ContextMenuProvider(
	KryptonContextMenu contextMenu,
	ViewContextMenuManager viewManager,
	ViewLayoutStack viewColumns,
	IPalette palette,
	PaletteMode paletteMode,
	PaletteRedirect redirector,
	PaletteRedirectContextMenu redirectorImages,
	NeedPaintHandler needPaintDelegate,
	bool enabled
)

Parameters

contextMenu
Type: Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenu
Originating context menu instance.
viewManager
Type: Internal.ComponentFactory.Krypton.ToolkitViewContextMenuManager
Reference to view manager.
viewColumns
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutStack
Columns view element.
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.
needPaintDelegate
Type: Internal.ComponentFactory.Krypton.ToolkitNeedPaintHandler
Delegate for requesting paint changes.
enabled
Type: SystemBoolean
Enabled state of the context menu.
See Also