API:FMX.Grid.Style.TStyledGrid.Create

Aus RAD Studio API Documentation

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) { }

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
FMX.Grid.Style.pas
FMX.Grid.Style.hpp
FMX.Grid.Style TStyledGrid

Beschreibung

Erstelle eine Instanz einer mit Stilen versehenen TStyledCustomScrollBox-Darstellung für ein TPresentedScrollBox-Bildlauffeld. {{#multireplace:FMX.Grid.Style.TStyledGrid.Create|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} erbt von {{#multireplace:FMX.ScrollBox.Style.TStyledCustomScrollBox.Create|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Der folgende Inhalt bezieht sich auf {{#multireplace:FMX.ScrollBox.Style.TStyledCustomScrollBox.Create|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Erstelle eine Instanz einer mit Stilen versehenen TStyledCustomScrollBox-Darstellung für ein TPresentedScrollBox-Bildlauffeld.

AOwner ist der Eigentümer des erstellten Objekts.

Dieser Konstruktor ruft CreateAniCalculations auf. Wenn CreateAniCalculations eine Null-Instanz zurückgibt, löst Create eine EArgumentException-Exception mit der folgenden Meldung aus:

Mit Stilen versehene Darstellung konnte nicht erstellt werden, weil CreateAniCalculations nil zurückgab.

Siehe auch