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) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | FMX.Grid.Style.pas FMX.Grid.Style.hpp |
FMX.Grid.Style | TStyledGrid |
説明
TStyledCustomScrollBox スタイル付きプレゼンテーションのインスタンスを、TPresentedScrollBox が表現するスクロール ボックスに対して作成します。
FMX.Grid.Style.TStyledGrid.Create は FMX.ScrollBox.Style.TStyledCustomScrollBox.Create を継承しています。以下の内容はすべて FMX.ScrollBox.Style.TStyledCustomScrollBox.Create を参照しています。
TStyledCustomScrollBox スタイル付きプレゼンテーションのインスタンスを、TPresentedScrollBox が表現するスクロール ボックスに対して作成します。
AOwner
は、作成されたオブジェクトの所有者です。
このコンストラクタは、CreateAniCalculations を呼び出します。 CreateAniCalculations は null インスタンスを返し、その後、Create は EArgumentException 例外を次のmessageと共に発生させます:
Could not create styled presentation because CreateAniCalculations returned nil.(CreateAniCalculations が nil を返したためスタイル付き概観を作成できませんでした。)