| FormFieldInfo Class |
Namespace: CMS.FormEngine
public class FormFieldInfo : FieldBase<FormFieldInfo>
The FormFieldInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| FormFieldInfo |
| Name | Description | |
|---|---|---|
| Clone |
Clones the object.
(Overrides FieldBaseFieldTypeClone.) | |
| ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
| GetDefaultValue |
Returns resolved default value based on resolver type and field's setting (GetResolveDefaultValue(Boolean)).
| |
| GetDisplayName |
Returns string that represents human readable form of field name.
Tries to resolve field's caption.
Field name is returned in case of invalid macro or empty caption.
| |
| GetHiddenNode |
Returns the XML node with visibility attribute set to false.
| |
| GetMaxInputLength |
Gets the maximum input length for a given field
| |
| GetPropertyValue(FormFieldPropertyEnum) |
Gets unresolved property value.
| |
| GetPropertyValue(FormFieldPropertyEnum, Boolean) |
Gets unresolved property value.
| |
| GetPropertyValue(FormFieldPropertyEnum, IMacroResolver, MacroSettings, Boolean) |
Gets resolved property value.
| |
| GetResolveDefaultValue |
Returns if resolving of macros in the field's default value is enabled as far as that setting is specified, otherwise given default value is returned.
| |
| GetTypedDefaultValue |
Returns typed resolved default value based on resolver type and field's setting (GetResolveDefaultValue(Boolean)).
| |
| GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
| GetVisibilityXml |
Returns the XML node representing the FormFieldInfo object only with limited properties.
XML node contains only: field name, field visibility
| |
| GetXmlNode(XmlDocument) |
Returns the XML node representing the FormFieldInfo object.
(Overrides FieldBaseFieldTypeGetXmlNode(XmlDocument).) | |
| GetXmlNode(XmlDocument, IListString, Boolean) |
Returns the XML node representing the FormFieldInfo object.
| |
| GetXPathExpression |
Gets XPath expression to select this node in generated XML.
| |
| IsMacro |
Returns true if property is macro.
| |
| LoadFromXmlNode |
Loads the field info from XML node
(Overrides FieldBaseFieldTypeLoadFromXmlNode(XmlNode).) | |
| RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisterColumns |
Registers the Columns of this object for resolving data macros.
(Overrides FieldBaseFieldTypeRegisterColumns.) | |
| SetPropertyValue |
Sets property value.
| |
| SetResolveDefaultValue |
Sets the ability to resolve macros in field's default value.
| |
| SettingIsMacro |
Returns true if setting is macro.
| |
| SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
| ToString |
Returns field name value.
(Inherited from FieldBaseFieldType.) | |
| TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| AllowEmpty |
Indicates whether field allow empty values.
(Inherited from FieldBaseFieldType.) | |
| AllowUserToChangeVisibility |
Indicates whether user can change field visibility.
| |
| Caption |
Column caption.
(Inherited from FieldBaseFieldType.) | |
| ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
| DataType |
Data type.
(Inherited from FieldBaseFieldType.) | |
| DefaultValue |
Field default value.
(Inherited from FieldBaseFieldType.) | |
| DependsOnAnotherField |
Gets or sets value indicating if field is depending on some other field.
| |
| DisplayIn |
Adjust the context in which the attribute can be displayed.
| |
| DisplayInSimpleMode |
Indicates whether to display field in simple mode of basicform or not.
| |
| Enabled |
Indicates whether field is Enabled.
| |
| External |
Indicates if field is external, if so it represents column from another table which is included in CMS_Tree_View_Joined (CMS_Document, CMS_Node, ...).
(Inherited from FieldBaseFieldType.) | |
| FieldMacroRules |
List of field validation macro rules.
| |
| FieldType |
Type of the field.
| |
| Guid |
Field unique identifier.
(Inherited from FieldBaseFieldType.) | |
| HasDependingFields |
Gets or sets value indicating if other fields are depending on this field.
| |
| Inheritable |
Indicates whether field is inheritable (value is set as default value of parent FormFieldInfo, field is disabled if possible) or not.
| |
| IsDummyField |
Indicates if field has no representation in database.
(Inherited from FieldBaseFieldType.) | |
| IsDummyFieldFromMainForm |
Indicates if dummy field is in main or alternative form
(Inherited from FieldBaseFieldType.) | |
| IsExtraField |
Indicates if field is extra field (field is not in orignal form definition).
(Inherited from FieldBaseFieldType.) | |
| IsInherited |
If true, the field is inherited from parent class.
(Inherited from FieldBaseFieldType.) | |
| IsUnique |
Indicates whether field is unique.
(Inherited from FieldBaseFieldType.) | |
| Item |
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.) | |
| MappedToField |
Indicates field to which this one is mapped.
| |
| MaxDateTimeValue |
Maximal datetime value.
| |
| MaxStringLength |
Maximal string length.
| |
| MaxValue |
Maximal value.
| |
| MinDateTimeValue |
Minimal datetime value.
| |
| MinStringLength |
Minimal string length.
| |
| MinValue |
Minimal value.
| |
| Name |
Column name.
(Inherited from FieldBaseFieldType.) | |
| Precision |
Precision of the field
(Inherited from FieldBaseFieldType.) | |
| PrimaryKey |
Indicates whether field is a primary key.
(Inherited from FieldBaseFieldType.) | |
| Properties |
Properties of the field
(Inherited from FieldBaseFieldType.) | |
| PropertiesMacroTable |
Macro table for the field properties.
(Inherited from FieldBaseFieldType.) | |
| PublicField |
Indicates whether field is public.
| |
| ReferenceToObjectType |
ObjectType to which the given field refers (for example as a foreign key).
(Inherited from FieldBaseFieldType.) | |
| ReferenceType |
Type of the reference (used only when ReferenceToObjectType is set).
(Inherited from FieldBaseFieldType.) | |
| RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegularExpression |
Regular expression.
| |
| Settings |
Setting of the field form control [name] -> [value]
| |
| SettingsMacroTable |
Macro table for the settings of the field form control
| |
| Size |
Size of the field.
(Inherited from FieldBaseFieldType.) | |
| SpellCheck |
Indicates whether field should be spell-checked.
| |
| System |
Indicates if field is a system field.
(Inherited from FieldBaseFieldType.) | |
| TranslateField |
Indicates whether the field will be included into translation service document while exporting to XLIFF.
| |
| UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
| Visibility |
Indicates who the field should be visible to.
| |
| VisibilityControl |
Indicates type of visibility form control.
| |
| Visible |
Indicates whether field is visible.
|