Click or drag to resize

KryptonContextMenuItem Constructor (String, Image, EventHandler, Keys)

Initialize a new instance of the KryptonContextMenuItem 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 KryptonContextMenuItem(
	string initialText,
	Image initialImage,
	EventHandler clickHandler,
	Keys shortcut
)

Parameters

initialText
Type: SystemString
Initial text string.
initialImage
Type: System.DrawingImage
Initial image.
clickHandler
Type: SystemEventHandler
Click handler.
shortcut
Type: System.Windows.FormsKeys
Shortcut key combination.
See Also