Click or drag to resize

IAssetElement Interface


Represents an Asset Element that refers to a specific Asset.

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

The IAssetElement 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.
(Inherited from IElement.)
Public propertyHidden
Gets and sets the Element as hidden on the Edit Form.
(Inherited from IElement.)
Public propertyIndexable
Gets and sets the field's ability to be indexed for in site search.
(Inherited from IElement.)
Public propertyIsXpower
Gets if the Element is a Xpower element, a special Ingeniux CMS Element that executes at runtime (or fully expanded publishing).
(Inherited from IElement.)
Public propertyLabel
Gets and sets the label (friendly name) of the Element.
(Inherited from IElement.)
Public propertyName
Gets and sets the name of Element.
(Inherited from IElement.)
Public propertyReadonly
Gets and sets the Element as read-only on the Edit Form.
(Inherited from IElement.)
Public propertyRequired
Gets sets the Element's value as required. Pages containing required Elements with empty values cannot be checked in.
(Inherited from IElement.)
Public propertyType
Gets the type of Element.
(Inherited from IElement.)
Public propertyUniqueID
Gets the unique ID of the Element.
(Inherited from IElement.)
Public propertyValue
Gets and sets the value of the Element.
(Inherited from IElement.)
Top
Methods
  NameDescription
Public methodAddAllowedAssetType
Adds a new allowed Asset Schema type.
Public methodAllowAllAssetTypes
Clear allowed asset types list and allow all asset types.
Public methodAllowedAssetTypes
Gets the allowed Asset Schemas. An Asset Element can only refer to assets with Asset Schemas in this list.
Public methodClone
Clones the current element and returns a new element. The cloned element usesthe name provided.
(Inherited from IElement.)
Public methodRemoveAllowedAssetType
Removes an existing allowed Asset Schema type.
Top
See Also