RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebDataDisplay.Content Method

Returns the HTML that defines the display control.

Pascal
function Content(Options: TWebContentOptions; ParentLayout: TLayout): string;
C++
__fastcall AnsiString Content(TWebContentOptions Options, TLayout ParentLayout);

Content implements the IWebContent method of the same name. This method allows the TWebDataDisplay component's parent to extract the HTML defining the display control. 

Content calls the virtual ImplContent method to provide the HTML content that it returns. Each TWebDataDisplay descendant overrides ImplContent to generate the definition of its particular control. 

Options contains a set of flags that limit what can be included in the generated HTML. 

ParentLayout specifies a helper object that the caller supplies for determining how the component should format the HTML control it generates. It supports the ILayoutWebContent interface. 

Content returns a string of HTML defining the display control. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!