Click or drag to resize

CommonHelperCreateInstance Method

Create new instance of specified type within the designer host, if provided.

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 static Object CreateInstance(
	Type itemType,
	IDesignerHost host
)

Parameters

itemType  Type
Type of the item to create.
host  IDesignerHost
Designer host used if provided.

Return Value

Object
Reference to new instance.
See Also