IComponentElement Interface |
Namespace: Ingeniux.CMS
The IComponentElement type exposes the following members.
Name | Description | |
---|---|---|
AutoEmbed |
Gets whether to automatically create embedded component, upon page creation.
When true, will use the first existing Schema specified by the CompTypes.
Will not be effective if Component is already set, or not valid schema in CompTypes.
| |
EmbedContent |
Gets the embedded content, null if component is not embedded
| |
Embedded |
Gets if the element has embedded content or not
| |
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.) | |
Indexable |
Gets and sets the field's ability to be indexed for in site search.
(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.) | |
OpenByDefault |
Indicates to client that this element should display all information on initial get
(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.) | |
WrappedUp |
Gets/sets if the element is wrapped up in expanded xml
|
Name | Description | |
---|---|---|
AddAllowedComponentType |
Adds a new allowed component type.
| |
AllowAllComponentTypes |
Clear allowed component types list and allow all component types
| |
AllowedComponentTypes |
Gets the allowed component schemas. Component can only refer/embed components with schema in this list.
| |
Clone |
Clones the current element and returns a new element. The cloned element usesthe name provided.
(Inherited from IElement.) | |
Embed(IPage, Boolean) |
Embeds a component. The component can be an existing Page object or newly creately that hasn't been
save to Content Store yet.
For an component created from scratch, "Id" attributes will be empty, since the embedded component doesn't need its own identification.
| |
Embed(IPageVersion, String, Boolean) |
Embeds a component. The component can be an existing Page Version object or newly creately that hasn't been
save to Content Store yet.
For an component Page Version created from scratch, "Id" attributes will be empty, since the embedded component doesn't need its own identification.
| |
RemoveAllowedComponentType |
Removes an existing allowed component type.
| |
RemoveEmbed |
Unembed the content off the component, and restore it to old component reference mode. It doesn't share the embedded content out.
| |
Share |
Unembeds the content off the component and turn it into an actual Page object and place it under the given root.
| |
ShareBack |
Unembeds the content off the component and save it back to the original component.
This process requires the embedded/override content to have the same schema as the its original component.
|