Click or drag to resize

VisualContextMenuDTP Constructor

Initialize a new instance of the VisualContextMenuDTP 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 VisualContextMenuDTP(
	KryptonContextMenu contextMenu,
	IPalette palette,
	PaletteMode paletteMode,
	PaletteRedirect redirector,
	PaletteRedirectContextMenu redirectorImages,
	KryptonContextMenuCollection items,
	bool enabled,
	bool keyboardActivated,
	Rectangle dropScreenRect
)

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.
dropScreenRect  Rectangle
Screen rectangle of the drop down button.
See Also