Click or drag to resize
CodeGeneratorGetPropertiesCode Method
Gets the C# code for the properties based on the given form information.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 10.0.0
Syntax
C#
public static string GetPropertiesCode(
	FormInfo fi,
	bool systemFields,
	string baseControl,
	StringBuilder sbInit,
	bool useSystemMethods
)

Parameters

fi
Type: CMS.FormEngineFormInfo
Form information
systemFields
Type: SystemBoolean
If true, the system fields are included to the code generation
baseControl
Type: SystemString
Base control name in case the properties are mirrored to the base control
sbInit
Type: System.TextStringBuilder
String builder for the initialization code of the base control
useSystemMethods
Type: SystemBoolean
If true, system method are used for conversion of values

Return Value

Type: String
See Also