Click or drag to resize

WebFormGridView Class

Represents a gridview in a WebFormBlock. A gridview uses a relation between the parent content-type and another one. The items referenced by the relation are shown in a table according to the target view, offering various options like filtering, sorting, creation, suppression, modification, etc.
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 WebFormGridView : ModelingObject_Extended

The WebFormGridView type exposes the following members.

Constructors
  NameDescription
Public methodWebFormGridView
Initializes a new instance of the WebFormGridView class.
Public methodWebFormGridView(String)
Initializes a new instance of the WebFormGridView class.
Top
Properties
  NameDescription
Public propertyActiveTaskRequiredForCreation
Gets or sets a value indicating whether an active task is required for item creation.
Public propertyChromeMode
Gets or sets the header's and footer's display mode.
Public propertyCreateItemsInFrame
Gets or sets a value indicating whether new items are created in a frame. Only applicable if EnableCreation is True.
Public propertyCreationLabel
Gets or sets the label shown in the creation button.
Public propertyCreationLabelRes
Gets or sets the resource containing translations for the CreationLabel property.
Public propertyCreationOnlyInTheseStates
Gets or sets the list of states' ids in which the creation is enabled.
Public propertyCustomViewList
Gets or sets a list of views' GUIDs available for selection when the HeaderContent is ViewSelection or Both. Note: the list is used to specify hidden views when the ViewListFilter is set to AllExceptHidden.
Public propertyEditItemsInFrame
Gets or sets a value indicating whether item edition must be done using a frame.
Public propertyEnableCreation
Gets or sets a value indicating whether items can be created with the gridview.
Public propertyEnableCreationInReadOnly
Gets or sets a value indicating whether items can be created while the item's form is in read-only.
Public propertyEnableInlineCreation
Gets or sets a value indicating whether new items appear as rows. Only applicable if EnableCreation is True.
Public propertyEnableInlineDuplication
Gets or sets a value indicating whether duplication is enabled. Currently not active. Note : also depend on PFView setting.
Public propertyEnableInlineEditing
Gets or sets a value indicating whether the inline edition is enabled. Note : also depend on PFView setting.
Public propertyEnableSelectionMode
Gets or sets a value indicating whether the feature allowing managing relations is enabled.
Public propertyEnableSelectionModeInReadOnly
Gets or sets a value indicating whether the selection mode is available while the item's form is in read-only.
Public propertyEnableSuppression
Gets or sets a value indicating whether the inline suppression is enabled. Note : also depend on PFView setting.
Public propertyEnableUnlinking
Gets or sets a value indicating whether the inline action Unlinking is enabled. This action allows removing the relation between the source item and a target item.
Public propertyFormPreviewGuid
Gets or sets the form preview GUID.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyHeaderContent
Gets or sets the header's content.
Public propertyHeight
Gets or sets the gridview height. The value is limited between MinHeight and MaxHeight.
Public propertyHeightMode
Gets or sets a value indicating how the gridview should manage its height.
Public propertyHiddenInTheseStates
Gets or sets the list of states' ids in which the gridview is hidden.
Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInlineEditingOnlyInTheseStates
Gets or sets the list of states' ids in which the inline edition is enabled.
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 propertyLabel
Gets or sets the gridview caption, shown in the header when HeaderContent is set to Label or Both.
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 propertyOpenItemsInFrame
Gets or sets a value indicating whether items should be open in a frame.
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 propertyRelationDirection
Gets or sets the relation direction(s).
Public propertyRelationId
Gets or sets the relation's GUID.
Public propertySelectionModeScope
Gets or sets the scope of available items when the selection mode is active.
Public propertySelectionOnlyInTheseStates
Gets or sets the list of states' ids in which the selection mode is available.
Public propertyShowOpenFormIcon
Gets or sets a value indicating whether the icon opening the item form is shown (on each row).
Public propertySuppressionOnlyInTheseStates
Gets or sets the list of states' ids in which the inline suppression is enabled.
Public propertyUnlinkingOnlyInTheseStates
Gets or sets the list of states' ids in which the unlinking feature is enabled.
Public propertyViewId
Gets or sets the target view's id.
Public propertyViewListFilter
Gets or sets a value indicating whether the CustomViewList is used to specify shown or hidden views available for selection.
Top
Methods
  NameDescription
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
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 methodGetTargetContentType
Gets the target content-type (at the other side of the relation).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberMaxHeight
The maximum height of a gridview.
Public fieldStatic memberMinHeight
The minimum height of a gridview.
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