FMX.SearchBox.Style.TStyledSearchBox.Create

From RAD Studio API Documentation
Jump to: navigation, search

C++

/* TStyledEdit.Create */ inline __fastcall virtual TStyledSearchBox(System::Classes::TComponent* AOwner)/* overload */ : Fmx::Edit::Style::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::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>]

See Also