ListChildrenRenderTableAsRowStyle Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Renders the table, oriented using rows.

Namespace: ContentStudio.Site.ActiveScripting.Document
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected virtual void RenderTableAsRowStyle(
	TextWriter writer,
	XmlReader xmlReader
)

Parameters

writer
Type: System.IOTextWriter
A TextWriter object that is used to write the table.
xmlReader
Type: System.XmlXmlReader
Xml that contains the document data to write. The syntax of this xml is the return value of the DocumentComponentSupport.ListChildren/see> method
Remarks

This method is called from the Invoke method if the Orientation property is set to Row. Developers can override this method to render their own table in this orientation. Since the passed in TextWriter object is created and disposed by the calling Invoke method developers do not need to dispose this object.
Note Note
The difference between this method and the RenderTableAsColumnStyle(TextWriter, XmlReader) is that this method writes one row for each data column that is defined by the SetColumnDefinition(Int32, String) method while the latter writes one row per document and one cell per column defined.
See Also

Reference