Click or drag to resize

Form Methods

The Form type exposes the following members.

Methods
  NameDescription
Public methodAddFormSections
Adds a list of form section objects to the fomr.
Public methodAddNewFormSectionWithFields
Returns a new (empty) form section with fields.
Public methodAddNewFormSectionWithText
Returns a new (empty) form section with text.
Public methodAssignSettings
Assigns a delimited string with settings.
Public methodCalculateChildrenVOrder
(Re)beregner vorder på form sections.
Public methodClone
Clone
Public methodCompareItems
Performs commparison of FormSectionBases with another form.
Public methodContainsField(Int32)
Returnerer true hvis et af formens felter er for den angivne type.
Public methodContainsField(Int32, Int32)
Returnerer true hvis et af formens felter indeholder den angivne property, og feltet samtidig er for den angivne type.
Public methodContainsField(FixedField, Int32)
Returnerer true hvis et af formens felter indeholder det angivne fixedfield, og feltet samtidig er for den angivne type.
Public methodContainsFieldFromTemplateObject
Returnerer true hvis et af formens felter er for det angivne template object.
Public methodGetDataObjectType
Returnerer dataobjecttype objektet fra cachen p.b.a. m_dataObjectTypeId. Dataobjecttype objektet er ikke indlejret i klassen. Dette for at minske størrelsen af objektgraferne a.h.t. remoting/serializering.
Public methodGetFormField
Returnerer det af formens felter, som matcher det angivne fixed field og dataobjecttypeid. Hvis templateObjectId er > 0, skal feltet endvidere matche dette eller ikke have et templateobjectid angivet. Hvis templateObjectId er > 0 accepteres et felt uden angivelse af templateobjectid kun hvis acceptDefaultField er true. Hvis der findes et felt uden angivelse af templateobjectid (og dette accepteres) har dette højere prioritet end et felt med angivelse af templateobjectid. Hvis der ikke findes et felt der matcher returneres null.
Public methodGetFormFields
Returns all fields from all the form sections.
Public methodGetFormFields(IntegerList)
Get form fields
Public methodGetFormFields(IntegerList, IntegerList)
Returns all fields from all the form sections.
Public methodGetFormSectionsWithFields
Collection of form sections with fields
Public methodPassesFilter
Checks if object can pass a specified filter
Public methodRemoveFormSection
Removes the form section from the form and reduces all form section's vorder for those with vorder greater than the removed form section
Public methodResetAll
Resets all ID's in the object. Used when a copy of the a object must be saved to the database.
Public methodSortChildrenVOrder
Sort children vertical order
Public methodToString
To string
(Overrides ObjectToString.)
Public methodValidForDataObjectType
Returns true of the form can be used for the provided type.
Public methodValidForProcess
Returns true of the form can be sued for the provided process.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also