FormInfo Methods |
The FormInfo type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddFormCategory |
Add a form category at the specified index or at the end if the index is not specified.
|
![]() | AddFormItem |
Adds form item at the specified index or at the end if the index is not specified.
|
![]() | Clone |
Clones the object.
|
![]() | CombineWithForm(FormInfo, CombineWithFormSettings) |
Combines the form with another form info.
|
![]() | CombineWithForm(FormInfo, Boolean, String, Boolean, Boolean) |
Combines the form with another form info.
|
![]() | CreateDataContainer |
Creates data container based on this form definition
|
![]() | EnsureDefaultValues |
Ensures the default values into the data container.
|
![]() | FieldExists |
Returns true if the given field exists in the form definition
|
![]() | GetCategoryNames |
Returns an List of category names.
|
![]() | GetColumnNames |
Returns an List of field names.
|
![]() | GetDataRow |
Returns empty data row with column names and types.
|
![]() ![]() | GetEmptyFormDocument |
Gets empty root FormInfo XML node.
|
![]() | GetFields(String) |
Returns the List of the FormFieldInfo objects.
|
![]() | GetFields(FormFieldControlTypeEnum) |
Returns the List of the FormFieldInfo objects.
|
![]() | GetFields(Boolean, Boolean, Boolean, Boolean, Boolean) |
Returns an List of FormFieldInfo objects.
|
![]() | GetFieldsItemType |
Gets the field of the given type
(Inherited from DataDefinition.) |
![]() | GetFormCategory |
Returns CategoryInfo object specified by category name.
|
![]() | GetFormElements |
Returns the List of the form elements.
|
![]() | GetFormField |
Returns field object with data from specified field.
|
![]() | GetHierarchicalFormElements |
Returns hierarchical dictionary of items. Each category contains list of its fields.
First fields without category are added to empty category.
|
![]() | GetUniqueFieldName |
Gets a unique field name based on the existing field names in the form
|
![]() | GetVisibilityXML |
Returns FromInfo definition in XML used only for FormVisibilityInfo with limited FormFieldInfo attributes.
|
![]() | GetXmlDefinition |
Returns FormInfo definition in XML.
|
![]() | GetXmlElement |
Gets the XML element for the data
(Overrides DataDefinitionGetXmlElement(XmlDocument).) |
![]() | LoadDefaultValues(DataRow, Boolean) |
Loads the default values into the DataRow.
|
![]() | LoadDefaultValues(DataRow, FormResolveTypeEnum, Boolean) |
Loads the default values into the DataRow.
|
![]() | LoadDefaultValues(DataRow, String, Boolean) |
Loads the default values into the DataRow.
|
![]() | LoadDefaultValues(IDataContainer, FormResolveTypeEnum, Boolean) |
Loads the default values into the data container.
|
![]() | LoadField |
Loads the field from the XML node
(Overrides DataDefinitionLoadField(XmlNode).) |
![]() | LoadFromDataStructure |
Loads the data definition from structure of a database table
(Inherited from DataDefinition.) |
![]() | LoadFromDefinition |
Loads the data definition from XML file
(Inherited from DataDefinition.) |
![]() | LoadFromXmlElement |
Loads the definition from the XML node
(Overrides DataDefinitionLoadFromXmlElement(XmlElement).) |
![]() | LoadItem |
Loads the item from the XML node
(Overrides DataDefinitionLoadItem(XmlNode).) |
![]() | MoveFormCategoryDown |
Moves specified form category down.
|
![]() | MoveFormCategoryUp |
Moves specified form category up.
|
![]() | MoveFormFieldDown |
Moves specified form field down.
|
![]() | MoveFormFieldToPositionInCategory |
Moves specified form field to specified position in category. If category isn't specified, than field is moved to default category.
|
![]() | MoveFormFieldUp |
Moves specified form field up.
|
![]() | NewCategoryDefinition |
Creates a new category definition object
|
![]() | NewFieldDefinition |
Creates a new field definition object
(Overrides DataDefinitionNewFieldDefinition.) |
![]() | RemoveEmptyCategories |
Removes all categories from the form that do not contain any fields
|
![]() | RemoveFields |
Remove fields matching the given condition
|
![]() | RemoveFormCategory |
Remove specified form category.
|
![]() | RemoveFormField |
Remove specified form field.
|
![]() | UpdateExistingFields |
Updates the existing fields from the FormInfo definition.
|
![]() | UpdateFormCategory |
Update specified category node.
|
![]() | UpdateFormField |
Update specified field node.
|
![]() | UsesHtmlArea |
Returns true, if the form uses one or more visible HTML area fields.
|