Represents a Group element on a page.
A Group element contains child elements of any type, except another group element.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IGroupElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowEnclosureChange |
Gets whether changing the Enclosed property is allowed on the element.
| |
Closed |
Gets whether the group is closed. You cannot add child elements to a closed group.
| |
ContentUnitTemplateName |
Gets and sets the template name this field uses. Only fields generated via ContentUnit placement have this value.
(Inherited from IContentCollection.) | |
Enclosed |
Gets and sets whether the rendering of the group element at runtime or preview will be wrapped in a wrapper element.
| |
Expanded |
Gets and sets the Element's field on Edit Form as showing its full details. This value only applies to the Edit Form.
(Inherited from IElement.) | |
Hidden |
Gets and sets the Element as hidden on the Edit Form.
(Inherited from IElement.) | |
IsXpower |
Gets if the Element is a Xpower element, a special Ingeniux CMS Element that executes at runtime (or fully expanded publishing).
(Inherited from IElement.) | |
Label |
Gets and sets the label (friendly name) of the Element.
(Inherited from IElement.) | |
Name |
Gets and sets the name of Element.
(Inherited from IElement.) | |
Readonly |
Gets and sets the Element as read-only on the Edit Form.
(Inherited from IElement.) | |
Required |
Gets sets the Element's value as required. Pages containing required Elements with empty values cannot be checked in.
(Inherited from IElement.) | |
Type |
Gets the type of Element.
(Inherited from IElement.) | |
UniqueID |
Gets the unique ID of the Element.
(Inherited from IElement.) | |
Value |
Gets and sets the value of the Element.
(Inherited from IElement.) |
Methods
Name | Description | |
---|---|---|
AddAttribute |
Adds one or more Attributes to the ContentCollection. This method accepts variable number of Attribute objects as parameters.
(Inherited from IContentCollection.) | |
AddAttributes |
Adds a collection of Attributes to the Content Collection.
(Inherited from IContentCollection.) | |
AddChildItem |
Adds a new child element.
| |
Attribute |
Gets a specific Attribute by name
(Inherited from IContentCollection.) | |
Attributes | (Inherited from IContentCollection.) | |
AttributesCount |
Gets the count of Attributes in the ContentCollection.
(Inherited from IContentCollection.) | |
AttributeValue |
Gets the value of a specific Attribute by name.
(Inherited from IContentCollection.) | |
ChildItems |
Retrieves this group's child elements collection.
| |
ChildItemsCount |
Gets the count of child elements.
| |
ClearAttributes |
Clears all Attributes from collection.
(Inherited from IContentCollection.) | |
Clone |
Clones the current element and returns a new element. The cloned element usesthe name provided.
(Inherited from IElement.) | |
Close |
Closes the group element, preventing the addition of child elements.
| |
RemoveAttribute |
Removes an Attribute from the collection.
(Inherited from IContentCollection.) | |
SetAttributeValue |
Sets an Attribute's value. If the Attribute with the given name doesn't exist, this method creates it.
(Inherited from IContentCollection.) |
Remarks
In a schema, a group element consists of two pieces: GroupStart and GroupEnd. The children of Group element on a page are the elements between the GroupStart and GroupEnd tags.
See Also