Click or drag to resize

WebForm Class

Represents the web form definition of a content-type.
Inheritance Hierarchy

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class WebForm : ModelingObject_Extended

The WebForm type exposes the following members.

Constructors
  NameDescription
Public methodWebForm
Initializes a new instance of the WebForm class.
Top
Properties
  NameDescription
Public propertyCustomForm

Gets or sets a value indicating whether the form is defined using a custom ASPX code.

The form will still be modelisable. But it will not be generated and a custom aspx file will be available for developers.

Public propertyDisplayName
Gets or sets the display name.
Public propertyDisplayNameRes
Gets or sets the resource containing translations for the DisplayName property.
Public propertyFileName_CustomForm
Gets the name of the custom form (name of the file).
Public propertyFileName_Form
Gets the name of the form (name of the file).
Public propertyFileName_Help
Gets the name of the help file.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInstanceGuid
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.)
Public propertyInstanceLanguage
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.)
Public propertyIsExtended
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.)
Public propertyModel
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.)
Public propertyName
Gets the name of this object.
(Inherited from ModelingObject.)
Public propertyParent
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyParentType
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertySections
Gets the sections.
Public propertyShowCurrentStateInNavigator
Gets or sets a value indicating whether the current state should be shown in the form's navigator.
Public propertyTabsMinSize
Gets or sets the minimum height of tabs.
Public propertyUseCollapsableSections
Gets or sets a value indicating whether the form's sections can be collapsed. Note: this collapsable sections ARE not available if the form is in Tabs mode.
Public propertyUserMustConfirmToCloseInEditMode
Gets or sets a value indicating whether the use must confirm (via a dialog box) the "Close" action on this form when in edit mode.
Public propertyUseTabs
Gets or sets a value indicating whether the sections are shown as tabs by default.
Top
Methods
  NameDescription
Public methodAddSection(String)
Adds a new section.
Public methodAddSection(WebFormSection)
Adds the specified section.
Public methodAddSection(String, Boolean)
Adds a new section.
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodClearAllColumns
Deletes the fields in all blocks, recursively.
Public methodClearColumns
Deletes the fields of a content-type in all blocks, recursively. This is used when a form is copied to a new content-type.
Public methodClearColumnsInNewModel
Deletes the fields of a content-type in all blocks, recursively. This is used when a form is copied to a new model.
Public methodDeleteSection
Deletes the specified section.
Public methodFindBlockGridView Obsolete.
Gets a block gridview by its name.
Public methodFindSection Obsolete.
Gets a section by its id.
Public methodGetAllBlocks
Gets all blocks, recursively.
Public methodGetAllButtons
Gets all buttons, recursively.
Public methodGetAllFields
Gets all fields, recursively.
Public methodGetAllGridViews
Gets all gridviews, recursively.
Public methodGetAllLabels
Gets all labels, recursively.
Public methodGetAllParts
Gets all parts, recursively.
Public methodGetBlockButton
Gets a block button by its preview GUID.
Public methodGetBlockField(Int32, WebFormSection)
Gets a field by a column's id.
Public methodGetBlockField(String, WebFormBlock, WebFormSection)
Gets a field by its preview GUID.
Public methodGetBlockGridView(String)
Gets a block gridview by its name.
Public methodGetBlockGridView(String, WebFormBlock, WebFormSection)
Gets a gridview by its preview GUID.
Public methodGetBlockInclude
Gets a block include by its preview GUID.
Public methodGetBlockLabel(String)
Gets a label by its GUID.
Public methodGetBlockLabel(String, WebFormBlock, WebFormSection)
Gets a label by its preview GUID.
Public methodGetBlockObjectSearchType(WebFormBlockObjectFinderSearchType)
Searches for a block object of a given type.
Public methodGetBlockObjectSearchType(WebFormBlockObjectFinderSearchType, WebFormBlock, WebFormSection)
Searches for a block object of a given type.
Public methodGetBlockObjectsSearchType
Searches for block objects of a given type.
Public methodGetBlockPart
Gets a block part by its preview GUID.
Public methodGetBlockPlaceHolder
Gets a block placeholder by its preview GUID.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetSection(Guid)
Gets a section by its GUID.
Public methodGetSection(Int32)
Gets a section by its id.
Public methodInsertSection
Adds a new section after the specified one.
Public methodSectionDown
Moves the specified section down.
Public methodSectionUp
Moves the specified section up.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateColumns
Changes the columns' id of all fields to a new content-type. Similar columns are found by a common name.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also