MidItems.TWebButton.Content
From RAD Studio API Documentation
Delphi
function Content(Options: TWebContentOptions; Layout: TLayout): string;
C++
System::UnicodeString __fastcall Content(Webcomp::TWebContentOptions* Options, System::TObject* Layout);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | MidItems.pas MidItems.hpp |
MidItems | TWebButton |
Description
Returns the HTML that defines the button control.
Content implements the IWebContent method of the same name. This method allows the Web button's parent to extract the HTML defining the button.
Content calls the virtual ImplContent method to provide the content it returns. Each TWebButton descendant overrides ImplContent to generate the definition of its particular button 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 Web button should format the HTML control it generates. It implements the ILayoutWebContent interface.
Content returns a string of HTML defining the button control.