Click or drag to resize

ILayout Interface


Represents the main container of a Presentation. Layout contains collection of Layout Rows

Namespace:  Ingeniux.CMS.Presentation
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
public interface ILayout : IContainer, 
	IDisplayUnit, IContentUnitInstanceEvents

The ILayout type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalClassNames
Gets/sets additional CSS class names that will be applied to the container during publish
(Inherited from IContainer.)
Public propertyBorder
Gets the box border properties
(Inherited from IContainer.)
Public propertyLockedForIce
Gets/sets whether this container is locked in In-Context-Edit mode When a container is locked, in ICE mode, user will not be able to select content units inside and move content units into/from/within the container
(Inherited from IContainer.)
Public propertyMargin
Gets the box margin properties
(Inherited from IContainer.)
Public propertyMinimumHeight
Gets/sets the minimum height in CSS for this container
(Inherited from IContainer.)
Public propertyName
Gets the name of the container
(Inherited from IContainer.)
Public propertyPadding
Gets the box padding properties
(Inherited from IContainer.)
Public propertyRows
Gets the rows this layout contains
Public propertyWrapping
Gets/set the wrapping/break point option
(Inherited from IContainer.)
Top
Methods
  NameDescription
Public methodAdd
Adds a new Layout Row at the specified position
Public methodAllContentUnits
Recursively retrieves all Content Unit Instances from this layout
Public methodClear
Removes all child Layout Rows
Public methodFormat
Generates HTML markup, and appends to the specified html document
(Inherited from IDisplayUnit.)
Public methodRemove(Int32)
Removes a Layout Row from specified position
Public methodRemove(String)
Removes a Layout Row by its unique id
Public methodCode exampleSerialize
Generates an XML element for this container
(Inherited from IContainer.)
Top
Events
  NameDescription
Public eventContentUnitAdded
This event is fired when a new Content Unit Instance is placed within a Layout Column
(Inherited from IContentUnitInstanceEvents.)
Public eventContentUnitRemoving
This event is fired when a Content Unit Instance is being removed when its parent Layout Column
(Inherited from IContentUnitInstanceEvents.)
Public eventDisplayUnitUpdated
This events is fired when any Display Unit is updated within a Presentation
(Inherited from IContentUnitInstanceEvents.)
Top
See Also