Click or drag to resize

KryptonContextMenuHeadingGenerateView Method

Returns a view appropriate for this item based on the object it is inside.

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 override ViewBase GenerateView(
	IContextMenuProvider provider,
	Object parent,
	ViewLayoutStack columns,
	bool standardStyle,
	bool imageColumn
)

Parameters

provider
Type: Internal.ComponentFactory.Krypton.ToolkitIContextMenuProvider
Provider of context menu information.
parent
Type: SystemObject
Owning object reference.
columns
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutStack
Containing columns.
standardStyle
Type: SystemBoolean
Draw items with standard or alternate style.
imageColumn
Type: SystemBoolean
Draw an image background for the item images.

Return Value

Type: ViewBase
ViewBase that is the root of the view hierachy being added.
See Also