FormInfo MembersKentico 8.0 API Reference
The FormInfo type exposes the following members.
Constructors

  NameDescription
Public methodFormInfo
Constructor, creates the form info structure and loads speficied form definition.
Back to Top
Methods

  NameDescription
Public methodAddFormCategory(FormCategoryInfo)
Add a form category at the end of the nodes.
Public methodAddFormCategory(FormCategoryInfo, Int32)
Add a form category at the end of the nodes.
Public methodAddFormItem(IField)
Adds form item at the end of the form.
Public methodAddFormItem(IField, Int32)
Adds form item after a specified field.
Public methodClone
Clones the object.
Public methodCombineWithForm(FormInfo, CombineWithFormSettings)
Combines the form with another form info.
Public methodCombineWithForm(FormInfo, Boolean, String, Boolean, Boolean)
Combines the form with another form info.
Public methodEnsureDefaultValues
Ensures the default values into the data container.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodFieldExists
Returns true if the given field exists in the form definition
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetCategoryNames
Returns an List of category names.
Public methodGetColumnNames
Returns an List of field names.
Public methodGetDataRow(Boolean)
Returns empty data row with column names and types.
Public methodGetDataRow(Boolean, String)
Returns empty data row with column names and types.
Public methodStatic memberGetEmptyFormDocument
Gets empty root FormInfo XML node.
Public methodGetFields(String)
Returns the List of the FormFieldInfo objects.
Public methodGetFields(FormFieldControlTypeEnum)
Returns the List of the FormFieldInfo objects.
Public methodGetFields(Boolean, Boolean, Boolean, Boolean, Boolean)
Returns an List of FormFieldInfo objects.
Public methodGetFields ItemType  
Gets the field of the given type
(Inherited from DataDefinition.)
Public methodGetFormCategory
Returns CategoryInfo object specified by category name.
Public methodGetFormElements
Returns the List of the form elements.
Public methodGetFormField
Returns field object with data from specified field.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetHierarchicalFormElements
Returns hierarchical dictionary of items. Each category contains list of its fields. First fields without category are added to empty category.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetVisibilityXML
Returns FromInfo definition in XML used only for FormVisibilityInfo with limited FormFieldInfo attributes.
Public methodGetXmlDefinition
Returns FormInfo definition in xml.
Public methodLoadDefaultValues(DataRow, FormResolveTypeEnum)
Loads the default values into the DataRow.
Public methodLoadDefaultValues(DataRow, Boolean)
Loads the default values into the DataRow.
Public methodLoadDefaultValues(IDataContainer, FormResolveTypeEnum)
Loads the default values into the data container.
Public methodLoadDefaultValues(DataRow, String, Boolean)
Loads the default values into the DataRow.
Protected methodLoadField
Loads the field from the XML node
(Overrides DataDefinition LoadField(XmlNode).)
Protected methodLoadFromXml(String)
Loads the data definition from XML file
(Inherited from DataDefinition.)
Protected methodLoadFromXml(XmlDocument)
Loads the definition from the XML document
(Overrides DataDefinition LoadFromXml(XmlDocument).)
Protected methodLoadItem
Loads the item from the XML node
(Overrides DataDefinition LoadItem(XmlNode).)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodMoveFormCategoryDown
Moves specified form category down.
Public methodMoveFormCategoryUp
Moves specified form category up.
Public methodMoveFormFieldDown
Moves specified form field down.
Public methodMoveFormFieldToPositionInCategory
Moves specified form field to specified position in category. If category isn't specified, than field is moved to default category.
Public methodMoveFormFieldUp
Moves specified form field up.
Protected methodNewCategoryDefinition
Creates a new category definition object
Protected methodNewFieldDefinition
Creates a new field definition object
(Overrides DataDefinition NewFieldDefinition .)
Public methodRemoveEmptyCategories
Removes all categories from the form that do not contain any fields
Public methodRemoveFields
Remove fields matching the given condition
Public methodRemoveFormCategory
Remove specified form category.
Public methodRemoveFormField
Remove specified form field.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUpdateExistingFields
Updates the existing fields from the FormInfo definition.
Public methodUpdateFormCategory
Update specified category node.
Public methodUpdateFormField
Update specified field node.
Public methodUsesHtmlArea
Returns true, if the form uses one or more visible HTML area fields.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberATTRIBUTE_VERSION
Name of attribute version used in xml documents.
Public fieldStatic memberDISPLAY_CONTEXT_DASHBOARD
Dashboard display context.
Back to Top
Properties

  NameDescription
Public propertyContextResolver
Context macro resolver.
Public propertyFormName
Gets or sets FormInfo name.
Public propertyItemsList
Returns list of all FormItems.
(Inherited from DataDefinition.)
Back to Top
See Also