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: 2024.1.1.0 (2024.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
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.
dropScreenRect
Type: System.DrawingRectangle
Screen rectangle of the drop down button.
See Also