Click or drag to resize

ComponentCreateComponent Method (Type, Int32, Boolean, Boolean)

Creates a child component.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2021.3.1.0 (2021.3.1.0)
Syntax
C#
public Component CreateComponent(
	Type classType,
	int insertIndex = -1,
	bool enabled = true,
	bool setUniqueName = false
)

Parameters

classType
Type: SystemType
insertIndex (Optional)
Type: SystemInt32
enabled (Optional)
Type: SystemBoolean
setUniqueName (Optional)
Type: SystemBoolean

Return Value

Type: Component
See Also