FMX.Grid.Style.TStyledGrid.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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

Erstellt eine Instanz von TStyledCustomScrollBox als die Stildarstellung für TScrollBox.

FMX.Grid.Style.TStyledGrid.Create erbt von FMX.ScrollBox.Style.TStyledCustomScrollBox.Create. Der folgende Inhalt bezieht sich auf FMX.ScrollBox.Style.TStyledCustomScrollBox.Create. Erstellt eine Instanz von TStyledCustomScrollBox als die Stildarstellung für TScrollBox.

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