Click or drag to resize

ContextMenuProvider(ViewContextMenuManager, ViewLayoutStack, IPalette, PaletteMode, PaletteContextMenuRedirect, PaletteContextMenuItemState, PaletteContextMenuItemState, PaletteContextMenuItemStateHighlight, PaletteContextMenuItemStateChecked, 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(
	ViewContextMenuManager viewManager,
	ViewLayoutStack viewColumns,
	IPalette palette,
	PaletteMode paletteMode,
	PaletteContextMenuRedirect stateCommon,
	PaletteContextMenuItemState stateDisabled,
	PaletteContextMenuItemState stateNormal,
	PaletteContextMenuItemStateHighlight stateHighlight,
	PaletteContextMenuItemStateChecked stateChecked,
	PaletteRedirect redirector,
	PaletteRedirectContextMenu redirectorImages,
	NeedPaintHandler needPaintDelegate,
	bool enabled
)

Parameters

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.
stateCommon  PaletteContextMenuRedirect
State used to provide common palette values.
stateDisabled  PaletteContextMenuItemState
State used to provide disabled palette values.
stateNormal  PaletteContextMenuItemState
State used to provide normal palette values.
stateHighlight  PaletteContextMenuItemStateHighlight
State used to provide highlight palette values.
stateChecked  PaletteContextMenuItemStateChecked
State used to provide checked palette values.
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