Click or drag to resize

KryptonContextMenuItemBaseGenerateView Method

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

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public abstract 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