WebFormBlock Class |
Namespace: Packflow.Modeling
public class WebFormBlock : ModelingObject_Extended
The WebFormBlock type exposes the following members.
Name | Description | |
---|---|---|
WebFormBlock |
Initializes a new instance of the WebFormBlock class.
|
Name | Description | |
---|---|---|
Blocks |
Gets the children blocks of this block.
| |
Buttons |
Gets the buttons.
| |
Condition |
Gets or sets the rule specifying when the block is shown or hidden, client-side.
Currently not used.
| |
Fields |
Gets the fields.
| |
GridViews |
Gets the gridviews.
| |
Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
HideWhenEmpty |
Gets or sets a value indicating whether the block should be hidden when it is empty.
| |
Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
Includes |
Obsolete. Gets the includes.
| |
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.) | |
LabelColumnWidth |
Gets or sets the width of the labels column when the LabelsDisposition is set to Left.
| |
Labels |
Gets the labels.
| |
LabelsAlignment |
Gets or sets the labels' alignment.
| |
LabelsDisposition |
Gets or sets the labels disposition.
| |
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.) | |
Parts |
Gets the parts.
| |
PlaceHolders |
Gets the placeholders.
| |
Title |
Gets or sets the block's title, shown as a caption.
| |
TitleRes |
Gets or sets the resource containing translations for the Title property.
| |
Type |
Gets or sets the block's type.
| |
Width |
Gets or sets the width.
|
Name | Description | |
---|---|---|
AddBlock(String) |
Adds a new block.
| |
AddBlock(WebFormBlock) |
Adds the specified block.
| |
AddButton |
Adds a new button.
| |
AddField |
Adds a new field.
| |
AddGridView |
Adds a new gridview.
| |
AddInclude |
Obsolete. Adds a new include.
| |
AddLabel |
Adds a new label.
| |
AddPart |
Adds a new part.
| |
AddPlaceHolder |
Adds a new placeholder.
| |
BlockDown |
Moves the specified block down.
| |
BlockUp |
Moves the specified block up.
| |
ButtonDown |
Moves the specified button down.
| |
ButtonUp |
Moves the specified button up.
| |
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.
| |
DeleteBlock |
Deletes the specified block.
| |
DeleteButton(String) |
Deletes the button with the specified name.
| |
DeleteButton(WebFormButton) |
Deletes the specified button.
| |
DeleteField(Int32) |
Deletes the field with the specified column id.
| |
DeleteField(WebFormField) |
Deletes the specified field.
| |
DeleteGridView(String) |
Deletes the gridview with the specified name.
| |
DeleteGridView(WebFormGridView) |
Deletes the specified gridview.
| |
DeleteInclude(String) |
Obsolete. Deletes the include with the specified path.
| |
DeleteInclude(WebFormInclude) |
Obsolete. Deletes the specified include.
| |
DeleteLabel(String) |
Deletes the label with the specified name.
| |
DeleteLabel(WebFormLabel) |
Deletes the specified label.
| |
DeletePart(String) |
Deletes the part with the specified name.
| |
DeletePart(WebFormPart) |
Deletes the specified part.
| |
DeletePlaceHolder(String) |
Deletes the placeholder with the specified name.
| |
DeletePlaceHolder(WebFormPlaceHolder) |
Deletes the specified placeholder.
| |
FieldDown |
Moves the specified field down.
| |
FieldUp |
Moves the specified field up.
| |
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.) | |
GetObjectSearchType |
Searches for a block object of a given type.
| |
GetObjectsSearchType |
Searches for block objects of a given type.
| |
GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
GridViewDown |
Moves the specified gridview down.
| |
GridViewUp |
Moves the specified gridview up.
| |
IncludeDown |
Obsolete. Moves the specified include down.
| |
IncludeUp |
Obsolete. Moves the specified include up.
| |
LabelDown |
Moves the specified label down.
| |
LabelUp |
Moves the specified label up.
| |
PartDown |
Moves the specified part down.
| |
PartUp |
Moves the specified part up.
| |
PlaceHolderDown |
Moves the specified placeholder down.
| |
PlaceHolderUp |
Moves the specified placeholder 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.) |