FormFieldInfo Class |
Namespace: CMS.FormEngine
public class FormFieldInfo : FieldBase<FormFieldInfo>
The FormFieldInfo type exposes the following members.
Name | Description | |
---|---|---|
FormFieldInfo |
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 that field has no representation in database.
(Inherited from FieldBaseFieldType.) | |
IsDummyFieldFromMainForm |
If true the field was added into the main form else it was added into the alt.form (expects IsDummyField property to be true).
(Inherited from FieldBaseFieldType.) | |
IsExtraField |
Indicates that field is extra field (field is not in original 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.
|
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 |
Returns the XML node representing the FormFieldInfo object.
(Overrides FieldBaseFieldTypeGetXmlNode(XmlDocument).) | |
GetXPathExpression |
Gets XPath expression to select this node in generated XML.
| |
IsMacro |
Returns true if property is macro.
| |
LoadFromTableData |
Loads the field info from plain database structure data.
(Overrides FieldBaseFieldTypeLoadFromTableData(DataRow, Boolean, Boolean).) | |
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 | |
---|---|---|
IsNodeNameSourceCandidate |
Checks if form field can be used as source for document node name.
(Defined by DocumentFormFieldInfoExtensions.) |