FMX.Grid.Style.TStyledGrid.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TStyledGrid(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledGrid(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Scrollbox::Style::TStyledCustomScrollBox(AOwner, AModel, AControl) { }

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Grid.Style.pas
FMX.Grid.Style.hpp
FMX.Grid.Style TStyledGrid

Description

Creates an instance of a TStyledCustomScrollBox styled presentation for a TPresentedScrollBox presented scroll box.

FMX.Grid.Style.TStyledGrid.Create inherits from FMX.ScrollBox.Style.TStyledCustomScrollBox.Create. All content below this line refers to FMX.ScrollBox.Style.TStyledCustomScrollBox.Create.

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.

See Also