FMX.Grid.Style.TStyledGrid.Create
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.
FMX.Grid.Style.TStyledGrid.Create erbt von FMX.ScrollBox.Style.TStyledCustomScrollBox.Create. Der folgende Inhalt bezieht sich auf FMX.ScrollBox.Style.TStyledCustomScrollBox.Create.
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.