Show: Delphi C++
Display Preferences

WebComp.ILayoutWebContent

From XE2 API Documentation
Jump to: navigation, search

Delphi

type ILayoutWebContent = interface(IInterface) [{4E810ED1-F09B-11D2-AA53-00A024C11562}]

C++

__interface  INTERFACE_UUID("{4E810ED1-F09B-11D2-AA53-00A024C11562}") ILayoutWebContent  : public System::IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
WebComp.pas
WebComp.hpp
WebComp WebComp

Description

ILayoutWebContent lets child Web items adhere to layout rules imposed by their parent.

The Content method, implemented by all Web items to return the generated HTML, takes as a parameter an object of type TLayout. TLayout is any object that implements the ILayoutWebContent interface. Typically, this is a descendant of TLayoutWebContent.

Parent components pass the TLayout object to child Web items to provide helper functions that the child items use to fit their generated content into the parent object's HTML structure (typically a <TABLE> tag). For example, the ILayoutWebContent methods may add <TD> tags around generated HTML that fills the cells of a parent's HTML table.

See Also

Personal tools
Previous Versions
Translations