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(Boolean) |
Returns empty data row with column names and types.
| |
GetDataRow(Boolean, String) | Obsolete.
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.
| |
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).) | |
LoadFromXml(String) |
Loads the data definition from XML file
(Inherited from DataDefinition.) | |
LoadFromXml(XmlDocument) |
Loads the definition from the XML document
(Overrides DataDefinitionLoadFromXml(XmlDocument).) | |
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.
|
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.) |