FMX.SearchBox.Style.TStyledSearchBox.Create
C++
/* TStyledEdit.Create */ inline __fastcall virtual TStyledSearchBox(System::Classes::TComponent* AOwner)/* overload */ : Fmx::Edit::Style::New::TStyledEdit(AOwner) { }
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledSearchBox(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Edit::Style::New::TStyledEdit(AOwner, AModel, AControl) { }
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | FMX.SearchBox.Style.hpp | FMX.SearchBox.Style | TStyledSearchBox |
Description
Creates a styled presentation object having the specified AOwner owner and AModel TDataModel for the specified AControl presented control.
The class of the specified data model must match DefineModelClass. Otherwise, Create raises the EPresentationWrongModel exception with the following message:
Model is not a valid class. Expected [<DefineModelClass.ClassName>], but received [<AModel.ClassName>]