RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLayoutWebContent.ParentLayout Property

Provides access to the layout object of the Web item that is the parent of the Web item to which this object belongs.

Pascal
property ParentLayout: TLayout;
C++
__property TLayout ParentLayout;

Web items form a hierarchy, where each child Web item generates its content on behalf of a parent object. This TLayoutWebContent object is associated with a Web item, and supplies methods to help lay out the content of its child Web items. The associated Web item, in turn, may be the child Web item of another Web item. ParentLayout is the layout object of the associated Web item's parent item. 

The TLayoutWebContent object uses ParentLayout in the implementation of its methods so that they reflect the needs of the parent item as well as the needs of the associated Web item. 

ParentLayout supports the ILayoutWebContent interface. Typically, it is another TLayoutWebContent descendant. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!