CommonHelperCreateInstance Method |
Create new instance of specified type within the designer host, if provided.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic 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
ObjectReference to new instance.
See Also