RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandColumn.ImplContent Method

Provides the underlying implementation for the Content method.

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

The Content method calls ImplContent to generate the HTML for the controls in one cell of the column. ImplContent generates the HTML to display the controls that the VisibleCommands property lists, reflecting the values of the DisplayColumns, .Style, StyleRule, and Custom properties. 

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 TCustomAdapterCommandColumn should format the HTML controls it generates. It implements the ILayoutWebContent interface. 

ImplContent returns the generated HTML.

Note: ImplContent does not include attributes for the alignment of controls inside the cell. The FormatColumnData method adds this information to the HTML that ImplContent generates.
 

 

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