Click or drag to resize

IPresentationFormatter Interface


Represents the visitor object that is used to turn layouts into actual html contains. In order to adhere to the rule of model view separation, we will not have an actual implementation of this interface in CSAPI. It is up to middle to to implement this class and provides instances to layout and layout to perform actual format

Namespace:  Ingeniux.CMS.Presentation
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IPresentationFormatter

The IPresentationFormatter type exposes the following members.

Properties
  NameDescription
Public propertyColumnClassNameBase
Gets the prefix of CSS class name for columns
Public propertyElementName
Gets the name of the output element
Public propertyGrids
Gets the max number of grids in each row for this formatter
Public propertyName
Gets display name of the Presentation Formatter
Public propertyPadZeroOnColumnWidth
Gets whether this formatter will pad 0 on column width that is 1 digit, default is false.
Public propertyRowClassName
Gets the CSS class name for rows
Public propertySupportWrapLevels
Gets whether this formatter uses standard column/row formatting logic, or implemented its custom logic.
Top
Methods
  NameDescription
Public methodFormatContentUnitPlaceHolder
Produces the html for content unit place holder in rendering template
Public methodFormatLayout
Produces the html for layout container
Public methodFormatLayoutColumn
Produces the html for layout column
Public methodFormatLayoutRow
Produces the html for layout row
Public methodGetColumnGridSizeClassName
Gets the prefix of CSS class name for columns, on grid size
Public methodGetColumnOffsetClassNameBase
Gets the prefix of CSS class name for offsets on columns
Top
See Also