WebForm Class |
Namespace: Packflow.Modeling
public class WebForm : ModelingObject_Extended
The WebForm type exposes the following members.
| Name | Description | |
|---|---|---|
| CustomForm | 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. | |
| DisplayName |
Gets or sets the display name.
| |
| DisplayNameRes |
Gets or sets the resource containing translations for the DisplayName property.
| |
| FileName_CustomForm |
Gets the name of the custom form (name of the file).
| |
| FileName_Form |
Gets the name of the form (name of the file).
| |
| FileName_Help |
Gets the name of the help file.
| |
| Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
| Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
| InstanceGuid |
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.) | |
| InstanceLanguage |
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.) | |
| IsExtended |
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not,
allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.) | |
| Model |
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.) | |
| Name |
Gets the name of this object.
(Inherited from ModelingObject.) | |
| Parent |
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| ParentType |
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| Sections |
Gets the sections.
| |
| ShowCurrentStateInNavigator |
Gets or sets a value indicating whether the current state should be shown in the form's navigator.
| |
| TabsMinSize |
Gets or sets the minimum height of tabs.
| |
| UseCollapsableSections |
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.
| |
| UserMustConfirmToCloseInEditMode |
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.
| |
| UseTabs |
Gets or sets a value indicating whether the sections are shown as tabs by default.
|
| Name | Description | |
|---|---|---|
| AddSection(String) |
Adds a new section.
| |
| AddSection(WebFormSection) |
Adds the specified section.
| |
| AddSection(String, Boolean) |
Adds a new section.
| |
| Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
| ClearAllColumns |
Deletes the fields in all blocks, recursively.
| |
| ClearColumns |
Deletes the fields of a content-type in all blocks, recursively.
This is used when a form is copied to a new content-type.
| |
| ClearColumnsInNewModel |
Deletes the fields of a content-type in all blocks, recursively.
This is used when a form is copied to a new model.
| |
| DeleteSection |
Deletes the specified section.
| |
| FindBlockGridView | Obsolete.
Gets a block gridview by its name.
| |
| FindSection | Obsolete.
Gets a section by its id.
| |
| GetAllBlocks |
Gets all blocks, recursively.
| |
| GetAllButtons |
Gets all buttons, recursively.
| |
| GetAllFields |
Gets all fields, recursively.
| |
| GetAllGridViews |
Gets all gridviews, recursively.
| |
| GetAllLabels |
Gets all labels, recursively.
| |
| GetAllParts |
Gets all parts, recursively.
| |
| GetBlockButton |
Gets a block button by its preview GUID.
| |
| GetBlockField(Int32, WebFormSection) |
Gets a field by a column's id.
| |
| GetBlockField(String, WebFormBlock, WebFormSection) |
Gets a field by its preview GUID.
| |
| GetBlockGridView(String) |
Gets a block gridview by its name.
| |
| GetBlockGridView(String, WebFormBlock, WebFormSection) |
Gets a gridview by its preview GUID.
| |
| GetBlockInclude |
Gets a block include by its preview GUID.
| |
| GetBlockLabel(String) |
Gets a label by its GUID.
| |
| GetBlockLabel(String, WebFormBlock, WebFormSection) |
Gets a label by its preview GUID.
| |
| GetBlockObjectSearchType(WebFormBlockObjectFinderSearchType) |
Searches for a block object of a given type.
| |
| GetBlockObjectSearchType(WebFormBlockObjectFinderSearchType, WebFormBlock, WebFormSection) |
Searches for a block object of a given type.
| |
| GetBlockObjectsSearchType |
Searches for block objects of a given type.
| |
| GetBlockPart |
Gets a block part by its preview GUID.
| |
| GetBlockPlaceHolder |
Gets a block placeholder by its preview GUID.
| |
| GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
| GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
| GetName |
Gets the name.
(Inherited from ModelingObject.) | |
| GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
| GetSection(Guid) |
Gets a section by its GUID.
| |
| GetSection(Int32) |
Gets a section by its id.
| |
| InsertSection |
Adds a new section after the specified one.
| |
| SectionDown |
Moves the specified section down.
| |
| SectionUp |
Moves the specified section up.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateColumns |
Changes the columns' id of all fields to a new content-type. Similar columns are found by a common name.
|
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |