FMX.SearchBox.TSearchBox.DefinePresentationName
Delphi
function DefinePresentationName: string; override;
C++
virtual System::UnicodeString __fastcall DefinePresentationName(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.SearchBox.pas FMX.SearchBox.hpp |
FMX.SearchBox | TSearchBox |
Description
Returns the name of the default presentation proxy that your control uses.
FMX.SearchBox.TSearchBox.DefinePresentationName inherits from FMX.Controls.Presentation.TPresentedControl.DefinePresentationName. All content below this line refers to FMX.Controls.Presentation.TPresentedControl.DefinePresentationName.
Returns the name of the default presentation proxy that your control uses.
You can handle the OnPresentationNameChoosing to specify a presentation proxy name to use instead of the name that DefinePresentationName returns.
TPresentedControl.DefinePresentationName returns a presentation proxy name based on the class name and the control type of the control. For example:
Class name | Control type | Result |
---|---|---|
TMyPresentedControl
|
Styled
|
"MyPresentedControl-Styled"
|
TMyPresentedControl
|
Platform
|
"MyPresentedControl-Platform"
|