FMX.MultiView.Types.Style.TStyledShadowedLayout.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TStyledShadowedLayout(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledShadowedLayout(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : TStyledOverlayLayout(AOwner, AModel, AControl) { }
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | FMX.MultiView.Types.Style.pas FMX.MultiView.Types.Style.hpp |
FMX.MultiView.Types.Style | TStyledShadowedLayout |
Description
Creates an instance of TStyledPresentation with the specified owner, data model, and presented control.
FMX.MultiView.Types.Style.TStyledShadowedLayout.Create inherits from FMX.Presentation.Style.TStyledPresentation.Create. All content below this line refers to FMX.Presentation.Style.TStyledPresentation.Create.
Creates an instance of TStyledPresentation with the specified owner, data model, and presented control.
The class of the specified data model must match DefineModelClass. Otherwise, Create raises an EPresentationWrongModel exception with the following message:
- Model is not a valid class. Expected [<DefineModelClass.ClassName>], but received [<AModel.ClassName>]