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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Object CreateInstance(
	Type itemType,
	IDesignerHost host
)

Parameters

itemType
Type: SystemType
Type of the item to create.
host
Type: System.ComponentModel.DesignIDesignerHost
Designer host used if provided.

Return Value

Type: Object
Reference to new instance.
See Also