Click or drag to resize
CodeGeneratorGetPropertyCode Method
Gets the C# code for the property based on the given field.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetPropertyCode(
	FormFieldInfo ffi,
	string baseControl,
	StringBuilder sbInit,
	bool useSystemMethods
)

Parameters

ffi
Type: CMS.FormEngineFormFieldInfo
Form field info
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