FMX.ScrollBox.Style.TStyledCustomScrollBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TStyledCustomScrollBox(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledCustomScrollBox(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Presentation::Style::TStyledPresentation(AOwner, AModel, AControl) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.ScrollBox.Style.pas FMX.ScrollBox.Style.hpp |
FMX.ScrollBox.Style | TStyledCustomScrollBox |
Description
Creates an instance of a TStyledCustomScrollBox styled presentation for a TPresentedScrollBox presented scroll box.
AOwner
is the owner of the created object.
This constructor calls CreateAniCalculations. If CreateAniCalculations returns a null instance, then Create raises an EArgumentException exception with the following message:
Could not create styled presentation because CreateAniCalculations returned nil.