Click or drag to resize
FormInfoLoadDefaultValues Method (IDataContainer, FormResolveTypeEnum, Boolean)
Loads the default values into the data container.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
public void LoadDefaultValues(
	IDataContainer container,
	FormResolveTypeEnum resolveType = FormResolveTypeEnum.None,
	bool onlyVisible = false
)

Parameters

container
Type: CMS.BaseIDataContainer
Container to load
resolveType (Optional)
Type: CMS.FormEngineFormResolveTypeEnum
Type of macro resolving
onlyVisible (Optional)
Type: SystemBoolean
If set True data are loaded for visible fields only; default value is False
See Also