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 のインスタンスを TScrollBox のスタイルの見た目として作成します。
FMX.Grid.Style.TStyledGrid.Create は FMX.ScrollBox.Style.TStyledCustomScrollBox.Create を継承しています。以下の内容はすべて FMX.ScrollBox.Style.TStyledCustomScrollBox.Create を参照しています。 TStyledCustomScrollBox のインスタンスを TScrollBox のスタイルの見た目として作成します。
このコンストラクタは、CreateAniCalculations を呼び出します。CreateAniCalculations は null インスタンスを返し、その後、Create は EArgumentException 例外を次のメッセージと共に発生させます:
- Could not create styled presentation because CreateAniCalculations returned nil.(CreateAniCalculations が nil を返したためスタイル付き概観を作成できませんでした。)