Click or drag to resize

ComponentCreateComponent Method (MetadataTypeInfo, 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(
	MetadataTypeInfo type,
	int insertIndex = -1,
	bool enabled = true,
	bool setUniqueName = false
)

Parameters

type
Type: NeoAxisMetadataTypeInfo
insertIndex (Optional)
Type: SystemInt32
enabled (Optional)
Type: SystemBoolean
setUniqueName (Optional)
Type: SystemBoolean

Return Value

Type: Component
See Also