Click or drag to resize

IElement Interface


Represents an element field on a CMS Page. Its parent can be a Page or an Element. It is a collection of Attributes, plus field name and value, that can be serialized to an XElement.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
public interface IElement

The IElement type exposes the following members.

Properties
 NameDescription
Public propertyExpanded Gets and sets the Element's field on Edit Form as showing its full details. This value only applies to the Edit Form.
Public propertyHidden Gets and sets the Element as hidden on the Edit Form.
Public propertyIndexable Gets and sets the field's ability to be indexed for in site search.
Public propertyIsXpower Gets if the Element is a Xpower element, a special Ingeniux CMS Element that executes at runtime (or fully expanded publishing).
Public propertyLabel Gets and sets the label (friendly name) of the Element.
Public propertyName Gets and sets the name of Element.
Public propertyOpenByDefault Indicates to client that this element should display all information on initial get
Public propertyReadonly Gets and sets the Element as read-only on the Edit Form.
Public propertyRequired Gets sets the Element's value as required. Pages containing required Elements with empty values cannot be checked in.
Public propertyType Gets the type of Element.
Public propertyUniqueID Gets the unique ID of the Element.
Public propertyValue Gets and sets the value of the Element.
Top
Methods
 NameDescription
Public methodClone Clones the current element and returns a new element. The cloned element usesthe name provided.
Top
Remarks
Each element has unique ID for easy identification.
See Also